[ragel-users] how to write a regular expression that mached regular expression
Марк Коренберг
socketpair at gmail.com
Thu Nov 3 05:42:23 UTC 2011
2011/11/3 zhu qun-ying <qunying at yahoo.com>:
> Hi,
>
> I am in searching of a regular expression pattern that could matched the
> regular expression in javascript (I am testing a javascript parser in ragel).
> To make myself clear, e.g.
> Like an expression in javascript:
> a=/ab[cdfg]/g
>
> Is there a way that I could write a regular expression to match the string of "/ab[cdfg]/g", which itself is an regular expression
You need to detect begin and the end of regular expression, and, if
you want to check regex, just compile it.
>
> I could not find an answer after googling and hope the expert in this group may help.
>
>
> Thanks
> --
> qun-ying
>
> _______________________________________________
> ragel-users mailing list
> ragel-users at complang.org
> http://www.complang.org/mailman/listinfo/ragel-users
>
--
Segmentation fault
_______________________________________________
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