Support for Shorthand Character Classes?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
calande
Posts: 7
Joined: Tue Jul 17, 2007 10:12 pm

Support for Shorthand Character Classes?

Post by calande »

Hello,

I'm playing for regular expressions in TextPad and I'm loving it but it seems there's no support for shorthand character classes... For instance if I type some stuff with numbers and search for:

Code: Select all

\d
It says:
Cannot find regular expression '\d'
My "Regular expression" option is checked...
Any idea?
Thanks,
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

They're not available. For \d use [0-9].

Look in TextPad's help under
Reference Information | Regular Expressions and
How to... | Find and Replace Text | Use Regular Expressions.

The regular expression recogniser used by TextPad is rather old and weak, and there is much that other healthy young recognisers can do that TextPad's can't. The recogniser that WildEdit (http://www.textpad.com/products/wildedit/) uses (Boost) is far more powerful.
calande
Posts: 7
Joined: Tue Jul 17, 2007 10:12 pm

Post by calande »

Thanks! :wink:
Post Reply