Adapting to TextPad 7's regular expressions
Posted: Tue Apr 02, 2013 7:32 pm
TextPad 7 now uses Perl/JavaScript compatible regular expressions. If you have not been using Posix syntax, you will have to make the following changes to your regular expressions:
Note that regular expressions embedded in keystroke macros are automatically converted at runtime, while any assigned to user tools for matching their output are converted the first time TextPad 7 is run.
- Change \( to (
- Change \) to )
- Change \{ to {
- Change \} to }
- Change \| to |
- Change ( to \(
- Change ) to \)
- Change { to \{
- Change } to \}
- Change | to \|
- Change \n to \R
- Change \n to $n for register number n
- Change & to $0
- Change \i(...) to \i{...}
Note that regular expressions embedded in keystroke macros are automatically converted at runtime, while any assigned to user tools for matching their output are converted the first time TextPad 7 is run.