File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2233,7 +2233,7 @@ The B<C<:sigspace>> or B<C<:s>> adverb makes whitespace significant in a
2233
2233
regex.
2234
2234
2235
2235
= begin code :allow<B>
2236
- say so "I used Photoshop®" ~~ m:i/ photo shop /; # OUTPUT: «True»
2236
+ say so "I used Photoshop®" ~~ m:i/ photo shop /; # OUTPUT: «True»
2237
2237
say so "I used a photo shop" ~~ m:iB < :s > / photo shop /; # OUTPUT: «True»
2238
2238
say so "I used Photoshop®" ~~ m:iB < :s > / photo shop /; # OUTPUT: «False»
2239
2239
= end code
@@ -2245,7 +2245,7 @@ middle, but C<ab> won't:
2245
2245
2246
2246
= begin code :allow<B>
2247
2247
say so "ab" ~~ m:s/a <.ws> b/; # OUTPUT: «False»
2248
- say so "a b" ~~ m:s/a <.ws> b/; # OUTPUT: «True»
2248
+ say so "a b" ~~ m:s/a <.ws> b/; # OUTPUT: «True»
2249
2249
say so "^&" ~~ m:s/'^' <.ws> '&'/; # OUTPUT: «True»
2250
2250
= end code
2251
2251
You can’t perform that action at this time.
0 commit comments