Are the regular expression macros working in NewLisp 10.4.5?
Posted: Tue Dec 11, 2012 5:40 pm
Hi!
Having some trouble with regular expressions... It seems that \d and \D aren't working for me:
I'll limp along with "[0-9]" for now, but it would be nice to know what's going on with the others. According to the PCRE manpage, they should work.
Using newLISP v.10.4.5 on Win32 IPv4/6 libffi from the most recent installer, running on XP64.
Thanks!
Having some trouble with regular expressions... It seems that \d and \D aren't working for me:
Code: Select all
> (find "\d+" "3432" 0) $0
nil
"433"
> (find "\D+" "XC3432" 0) $0
nil
"433"
> (find "[0-9]+" "3432" 0) $0
0
"3432"
Using newLISP v.10.4.5 on Win32 IPv4/6 libffi from the most recent installer, running on XP64.
Thanks!