Hi

any regexp gurus out there?
For converter I need a regexp that matches a string starting with "Tnt", not 
followed by "LX" and captures everything after "Tnt". This actually works:

  ^Tnt([^L][^X].+)

but I am sure it could be written in a cleaner way.


Then there is another regexp that captures string after "TntLX":

  ^TntLX(.+)

and that is no problem.

Juha

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to