Incomplete RegEx parser? Some tokens doesn't work?
Posted: 27.10.2015 14:29
I am trying to create my own lexer and i am currently stuck on trying to change font colour of the first occuring number on every line, lines which can be tabulated if they are inside a block.
I can select the first number easily, if it isnt tabbed, but getting the others doesn't seem to work.
^\t+[0-9]{0,2} - works on other regex parsers, but not the one in SynWrite, same with /s. And how should to tackle the problem if i am only to allow this if the tabs are within {-brackets? Create another lexer and use that as a sublex on the blockrange?
I can select the first number easily, if it isnt tabbed, but getting the others doesn't seem to work.
^\t+[0-9]{0,2} - works on other regex parsers, but not the one in SynWrite, same with /s. And how should to tackle the problem if i am only to allow this if the tabs are within {-brackets? Create another lexer and use that as a sublex on the blockrange?