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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to