Created
February 28, 2017 17:23
-
-
Save ionoy/d3a25be12823691fe0aedd28522edaef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CompileStatistic("RegularRuleParser")] | |
public static int _#_NotEscs_(int pos, string text) | |
{ | |
int okPos = -1; | |
if (pos < text.Length) | |
{ | |
int curPos = pos + 1; | |
while (true) | |
{ | |
okPos = curPos; | |
if (curPos >= text.Length) | |
{ | |
break; | |
} | |
curPos++; | |
} | |
} | |
return okPos; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment