|
roffman Newbie
Joined: 23 Feb 2008 Posts: 2
|
Posted: Sat Feb 23, 2008 1:33 am
Matching variables problem |
I was just wondering if you can add variables to the pattern for a trigger.
Also, is it possible to detect carriage return and new line ascii characters (10 and 13) for trigger activation |
|
|
|
Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: Sat Feb 23, 2008 2:23 am |
Yes, you can even match stringlists inside variables in the same way you would match a stringlist
I was given this website for #REGEX, you can expand ascii using the %char() function but from your question I expect you will want a higher degree of control
http://www.regular-expressions.info/
edit: oh newlines and carriage return are coded in predefined variables
these seem to be those:
Code: |
%cr a carrige return character
%crlf a carrige return and a linefeed character, together they are called newline
%lf a linefeed character |
help/contents/reference/predefined variables |
|
|
|
roffman Newbie
Joined: 23 Feb 2008 Posts: 2
|
Posted: Sun Feb 24, 2008 5:50 am |
thanks for that, exactly what i needed.
|
|
|
|
|
|