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.
doc/Language/regexes.rakudoc
Outdated
| 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.
as requested
|
hi - I have made the requested changes - again here via the GH web interface file edit (since that was the way I made the initial change - apologies that this is a merge not a rebase. tbh I need to learn the difference as squishing commits has not been a thing for my work so far. |
|
Oh, got a new failing test
|
|
Could the link be using the irc logs? |
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