guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regexp character classes not supported?


From: Limbo Peng
Subject: regexp character classes not supported?
Date: Sat, 29 Dec 2012 00:39:47 +0800

Hi,

I'm confused by the result of string-match:

(string-match "[0-9]+" "abc123zzz") ;; this works, giving result: #("abc123zzz" (3 . 6))
(string-match "\\d+" "abc123zzz") ;; this doesn't work, giving result: #f

Why isn't the "\\d+" syntax (character classes) supported?

-Limbo Peng

reply via email to

[Prev in Thread] Current Thread [Next in Thread]