unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* regexp character classes not supported?
@ 2012-12-28 16:39 Limbo Peng
  2012-12-28 17:22 ` Mark H Weaver
  0 siblings, 1 reply; 10+ messages in thread
From: Limbo Peng @ 2012-12-28 16:39 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 469 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-01-14 22:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 16:39 regexp character classes not supported? Limbo Peng
2012-12-28 17:22 ` Mark H Weaver
2012-12-28 17:41   ` Limbo Peng
2012-12-28 19:15     ` Mark H Weaver
2012-12-29  2:24       ` Limbo Peng
2013-01-06 10:47       ` Ian Price
2013-01-06 12:02         ` Klaus Schilling
2013-01-08 12:32           ` Ian Price
2013-01-14 22:41             ` Klaus Schilling
2012-12-30 11:38     ` Marco Maggi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).