Hi 

I want to use backward reference in ragel regular expression for creating
parser for my language. The requirement is kind of begining and end of tag
matching where tag can be any arbitary string. e.g

1./test/ this is sample /test/ 

or it can be 

2./hello/ this is test /hello/ 

and following can be consider as a invalide

3./abc/ this is invalid /xyz/ 

So as in above example tag can be any arbitary string but requirement is to
match begining and ending tag string should be same. To write regular
expression for above requirement in ragel language i want to use backward
reference as in javascript. So can somebody give valuable suggestion how can
we achieve it in ragel or any pointer related to same would be great help

Thanks & Regards

Hardik Parikh


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to