Created
April 20, 2012 16:29
-
-
Save Watson1978/2430137 to your computer and use it in GitHub Desktop.
MacRuby : bug : regexp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| p /\Aa{1}+\z/ =~ "a" | |
| p /\Aa{1}+\z/ =~ "aa" | |
| p /\Aa{1}+/ =~ "aa" | |
| p /a{1}+\z/ =~ "aa" |
Author
Author
Hmm, it seems that ICU demo is same behavior.
http://demo.icu-project.org/icu-bin/redemo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expect
Result