chicken-users
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Chicken-users] Regex fail?
From
:
Matt Welland
Subject
:
[Chicken-users] Regex fail?
Date
:
Thu, 29 Oct 2015 21:12:44 -0700
(string-match "^([^\n]*)(\n.*|).*$" "This\nis \n")
=> #f
Using Ruby as comparison:
irb(main):001:0> "This\nis \n".match(/^([^\n]*)(\n.*|)$/)
=> #<MatchData "This\nis " 1:"This" 2:"\nis ">
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Chicken-users] Regex fail?
,
Matt Welland
<=
Re: [Chicken-users] Regex fail?
,
Peter Bex
,
2015/10/30
Re: [Chicken-users] Regex fail?
,
John Cowan
,
2015/10/30
Prev by Date:
Re: [Chicken-users] Which API to use (llrb)?
Next by Date:
Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value
Previous by thread:
[Chicken-users] Which API to use (llrb)?
Next by thread:
Re: [Chicken-users] Regex fail?
Index(es):
Date
Thread