chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Regex help.


From: Matthew Welland
Subject: [Chicken-users] Regex help.
Date: Sat, 1 Mar 2008 04:21:16 -0700
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

What am I not getting here?

DB<1> "\\foo "=~m/^\\(.*) $/;print $1;
foo

irb> "\\foo ".match(/^\\(.*)\s*$/);puts $1
foo

csi> (string-match (regexp "^\\(.*)\\s*$") "\\foo ")
#f




reply via email to

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