Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Backport200
All Projects
Ruby
»
Backport200
Overview
Activity
Issues
Like
Download (211 Bytes)
Backport #7974
» re_group_i.rb
Minimal test case -
ged (Michael Granger)
, 02/27/2013 08:03 AM
# -*- syntax: ruby -*-
#encoding: utf-8
p
(
/(?i:a) B/
=~
"A B"
)
p
(
/(?i:a) B/
=~
"a B"
)
p
(
/(?i:a) B/i
=~
"a b"
)
p
(
/(?i:a B)/
=~
"a B"
)
p
(
/(?i:a b)/
=~
"a B"
)
p
(
/B (?i:a)/
=~
"B A"
)
p
(
/B (?i:a)/
=~
"B a"
)
« Previous
1
2
Next »
(1-1/2)
Loading...