Incomplete RegEx parser? Some tokens doesn't work?

All questions regarding lexer highlighting schemes are discussed here...
Locked
Pether
Posts: 1
Joined: 27.10.2015 14:14

Incomplete RegEx parser? Some tokens doesn't work?

Post by Pether »

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?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Lexr has property /skip spaces/-Turn if OFF for your lex- it also for Tabs
Locked