[ragel-users] Equivalent of PCRE \b

Zach Levow zlevow at gmail.com
Mon May 6 23:58:18 UTC 2013


Hi all,
We're attempting to port a large collection of PCRE patterns into Ragel.
Most of the patterns are very straightforward, but a number of them use the
\b directive (zero-width, non-word char followed by word char or
vise-versa).  For example "my.*\btest" should match "my first test", but
*not* "my shortest".  I'm sure we could handle this on a case-by-case
basis, but I was wondering if anyone has an easy conversion.

Thanks in advance!
-Zach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20130506/e6743d7e/attachment-0001.html>
-------------- next part --------------
_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users


More information about the ragel-users mailing list