[ragel-users] how to write a regular expression that mached regular expression

zhu qun-ying qunying at yahoo.com
Wed Nov 2 23:17:13 UTC 2011


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?

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



More information about the ragel-users mailing list