unityscript - How to make .net regex start searching from the end of the last match? -


I am new to reggax. Currently, I am trying to get all the results of the symbols without spaces without string and when they are finished, they start coming out. Regex = new Regex ("[^] +"); Var s: string; For (var i: int = 0; i

This is the only 'speed' found.

I have received the G-Command which looks fine after the last match, that is, I can not leave the spacebar. Besides, I am unable to understand it, because my pattern is < / P>

  var Pattern: Reggae = New Regex ("\ g \ [^] +");  

Only throws errors about "unexpected characters".

The reason for this is because \ is a survival in both unity character and regex Is eligible. To fix this, first add another \ before one (second must be redundant):

  var Pattern: Regex = new Regex ("\\" G [^] + ");  

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -