Conversation
From a recent thread on IRC/Discord https://discord.com/channels/538407879980482560/633753286209699870/1474676849329180682
|
Pre-existing solutions: and: |
|
Oh I see there’s a failing test - I will try to fix shortly. @jubilatious1 thanks for the tips regarding match, on IRC/Discord, one aspect was how to do the fold case for just part of a string. So I’m proposing this Regex example here in the Regex section. :-) |
|
Removed trailing whitespace - hopefully this will now pass checks. |
I just went through a big PR to eliminate all the doubled |
| =begin code | ||
| say so "STRASSE" ~~ /(\w+) <?{$0.fc eq "straße".fc}>/ # OUTPUT: «True» | ||
| =end code | ||
|
|
There was a problem hiding this comment.
Has trailing whitespace, failing test.
There was a problem hiding this comment.
Slight preference to use single quotes here since nothing needs interpolation.
| say so "STRASSE" ~~ /(\w+) <?{$0.fc eq "straße".fc}>/ # OUTPUT: «True» | ||
| =end code | ||
|
|
||
| =head3 X<Ignoremark|Adverbs,:ignoremark;Adverbs,:m> |
There was a problem hiding this comment.
I also edited this line in my recently merged PR, please update to match.
From a recent thread on IRC/Discord https://discord.com/channels/538407879980482560/633753286209699870/1474676849329180682
The problem
ignorecase has some issues with Unicode comparisons
Solution provided
state the issue and suggest a more general solution with example using foldcase