|Terminal rule for any text [message #1733201]
||Wed, 25 May 2016 11:12
| Sachin Samaram
Registered: April 2016
Can anybody tell any how to write a terminal rule starts with 'start' followed by any text but once a newline entered that should be end that rule?
terminal NOTE: 'NOTES' -> ('\r'? '\n')+
terminal WS : (' '|'\t'| ('\\'(' '* '\r'? '\n')))+;
NOTES hgajgjhfgjg fgsuakghjkbdfgh ngjdhgasj dgh
I have entered enter after 'dgh' then that should be end of that rule.
I can have continue of text in the next line like
NOTES hgajgjhfgjg fgsuakghjkbdfgh ngjdhgasj \
hegfhajkfhjdfgn fjohgkdslj dgh \
Here in this case 'hfjdhjhf' is ending of the terminal rule.
Powered by FUDForum
. Page generated in 0.02342 seconds