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

zhu qun-ying qunying at yahoo.com
Thu Nov 3 06:44:45 UTC 2011


Thanks, at least I got some idea and know the limiation of it.

--- On Wed, 11/2/11, Марк Коренберг <socketpair at gmail.com> wrote:

> From: Марк Коренберг <socketpair at gmail.com>
> Subject: Re: [ragel-users] how to write a regular expression that mached regular expression
> To: ragel-users at complang.org
> Received: Wednesday, November 2, 2011, 9:54 PM
> 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?
> >
> > I could not find an answer after googling and hope the
> expert in this group may help.
> 
> http://stackoverflow.com/questions/362793/regexp-that-matches-valid-regexps
> 
> >
> >
> > 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
> 

_______________________________________________
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