Lines Matching refs:ex

61                    ex. /[\x{7fffffff}]/ for ASCII encoding.
128 ex. /\n\Z/.match("aaaaaaaaaa\n")
135 ex. /.a/ make MAP info instead of EXACT info.
144 ex. /\x00/ in UTF16 should be error.
150 (ex. "S" -> "s" -> 0x017f)
217 ex. ("test " * 100_000).scan(/\w*\s?/)
346 ex. /(?<!(?<=a)b|c)d/
407 ex. /(?!\G)a\z/.match("ba")
449 ex. core dump in
477 ex. /^\t.*$/
541 ex. /(?x)(?<= # <any-utf-8 multibyte char>o\n~) /
557 ex. [\s&&[^\n]] makes wrong result.
634 ex. /(?<bal>[^()]*(\(\g<bal>\)[^()]*)*)/
758 ex. /s+/iu.match("SSSSS") ==> [4..5]
762 ex. /is/iu.match("ss") fail.
771 ex. /s+/iu.match("sssss") ==> [4..5]
845 ex. /[\xFF-\xFF]/u
848 ex. s = "[\xC2\xA0-\xC3\xBE]"
896 ex. /^[a-z]{2,}?$/.match("aaa") fail.
965 ex. /[^a]/i.match("A")
1070 ex. /<(?:[^">]+|"[^"]*")+>/.match('<META http-equiv= \
1075 ex. /\w+/u.match("%a\xffb\xfec%") ==> "a"
1079 ex. /b\3777\c/.match("b\3777\c")
1109 ex. /[a-\xbb\xcc]/ in EUC-JP encoding.
1168 ex. /\g<p>(?@<p>\(\g<s>\)){0}(?<s>(?:\g<p>)*|){0}/
1204 ex. /(?:\1a|())*/.match("a"),
1212 ex. /ab{2,3}*/ was /(?:a(?:b{2,3}))*/,
1216 ex. bad match /a.{0,2}?a/ =~ "0aXXXa0"
1218 wrong fetch after (?x) option. ex. "(?x)\ta .\n+b"
1286 ex. /\x61/i =~ "A"
1301 ex. German alphabet ess-tsett(U+00DF) match "SS" and "ss".
1389 ex. /^(x?y)/ = "xy" fail.
1395 ex. /[H-c]/i ==> (H-Z, 0x5b-0x60, a-c)/i
1400 (ex. bad match /(?i)(?-i)a/ =~ "A")
1447 ex. /(a+)*(?<name>...)/
1517 ex. /(?i:(?<n>(a)\2)){0}\g<n>/.match("aA")
1543 in look-behind. ex. (?<=abc|abcd), (?<!a|bc)
1552 ex. x(/\ca/, "\001", 0, 1)
1575 ex. /\J/i =~ "j", /[\J]/i =~ "j" (same as Perl)
1583 2003/06/12: [spec] invalid POSIX bracket should be error. ex. [[:upper :]]
1587 ex. a{3}+ should be (?:a{3})+
1602 it is start of range. (ex. /[--a]/)
1604 ex. /]aaa/
1610 ex. /(?<n>(a|b\g<n>c){3,5})/.match("baaaaca") => "baaaaca"
1690 compile code. ex. /(?*n)(?<n>){0}/ (thanks akr)
1711 2003/03/05: [spec] allow to call in look behind. ex. /(?<=(?*a))/
1716 2003/03/04: [spec] prohibit left recursion of subexp call. ex. (?<n>|(?*n)a)
1750 ex. /()*/ ==> /()?/, /()+/ ==> /()/, /(?:)+/ ==> //
1780 ex. /[\x58-\x64]/i
1791 in ignore-case mode. (ex. /[A-c]/i == /[a-c]/i)
1927 ex. (?:a*)?, (?:a??)* etc..
1930 in look-behind. ex. /(?<=(a|b){3})/ (thanks Guy Decoux)
1937 in Ruby verbose mode. ex. (?:a*)?
1951 ex. /{/, /({)/, /a{2,3/ etc...
1982 an octal value in scanBackSlash(). ex. /\0111/
1996 ex. /(?<!XXX)a/.match("Xa"). (thanks Nobu)
1998 ex. /(?:abc){10}/
2004 ex. /\A.a/, /\G.a/ mismatched with "aa". (thanks Nobu)
2021 ex. /$\x0az/.match("\nz")
2026 2002/02/26: [bug] ex. /$*/, /[a-]/, /((?i)a)b/ (thanks matz)