Bug 4161 - Regular expression \d does not work
Summary: Regular expression \d does not work
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.17.3
Hardware: PC Windows 7
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-02-25 04:57 UTC by Mike
Modified: 2019-02-27 14:00 UTC (History)
0 users

See Also:


Attachments

Description Mike 2019-02-25 04:57:47 UTC
Filter for regular expression of "\d" does not work, but "[0-9]" does work.
Comment 1 Ricardo Mones 2019-02-27 09:55:25 UTC
Filtering regexps are POSIX Extended¹, not Perl².
Use "[:digit:]" if you want to match a digit.

¹ http://man7.org/linux/man-pages/man7/regex.7.html
² https://perldoc.perl.org/perlre.html
Comment 2 Mike 2019-02-27 13:31:07 UTC
Thanks!

Note You need to log in before you can comment on or make changes to this bug.