Thanks, at least I got some idea and know the limiation of it. --- On Wed, 11/2/11, Марк Коренберг <[email protected]> wrote:
> From: Марк Коренберг <[email protected]> > Subject: Re: [ragel-users] how to write a regular expression that mached > regular expression > To: [email protected] > Received: Wednesday, November 2, 2011, 9:54 PM > 2011/11/3 zhu qun-ying <[email protected]>: > > 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 > > [email protected] > > http://www.complang.org/mailman/listinfo/ragel-users > > > > > > -- > Segmentation fault > > _______________________________________________ > ragel-users mailing list > [email protected] > http://www.complang.org/mailman/listinfo/ragel-users > _______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
