 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Thu Mar 27, 2008 3:17 pm
Convert to Regex and ansi codes |
Any tips on how to convert ansi escape code to regex now that the convert button is gone? That was such a useful button for converting the escape codes, any tips on how to do this in Cmud?
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Mar 27, 2008 4:14 pm |
The convert button's still there next to the regex checkbox. The regex equivalent of %e is \033.
|
|
|
 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Thu Mar 27, 2008 10:21 pm |
Oh man, I feel stupid now, I didn't realize that was click-able. I just thought it was a snazzy graphic for regular expression use.
|
|
|
 |
JQuilici Adept
Joined: 21 Sep 2005 Posts: 250 Location: Austin, TX
|
Posted: Fri Mar 28, 2008 1:48 am |
BTW, The regex engine also recognizes \e for the ESC character, which I find easier to remember than \033
|
|
_________________ Come visit Mozart Mud...and tell an imm that Aerith sent you! |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Mar 28, 2008 7:50 am |
I just type %e into a trigger and look on the trigger tester tab at the regex :P
|
|
|
 |
|
|