You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the SedRegex plugins supports a lot of different delimiters by default (", #, /, etc.) but also comes with ' hardcoded.
Sadly, this causes a lot of false-positives in the French channels I'm in, as sentences like s'en aller en bateau, c'est intéressant et agréable will cause a match because of the two apostrophes used. Indeed, this is seen as the same as s/en aller en bateau, c/est intéressant et agréable/, which isn't likely to be a match :P
Would it be possible to add a configuration option to either allowlist wanted delimiters (which IMO makes more sense) or to blocklist some (if you prefer this option).
Cheers!
The text was updated successfully, but these errors were encountered:
I would think a list of disallowed separators makes more sense. The actual sed implementation allows all characters, even letters and spaces though they probably aren't as useful. I don't want to be overly restrictive by default, as it's much easier to pick an alternate separator than the usual "/" if your text includes that character.
$ sed 's t b ' <<< test
best
$ sed 'sataba' <<< test
best
Hi,
At the moment, the SedRegex plugins supports a lot of different delimiters by default (
"
,#
,/
, etc.) but also comes with'
hardcoded.Sadly, this causes a lot of false-positives in the French channels I'm in, as sentences like
s'en aller en bateau, c'est intéressant et agréable
will cause a match because of the two apostrophes used. Indeed, this is seen as the same ass/en aller en bateau, c/est intéressant et agréable/
, which isn't likely to be a match :PWould it be possible to add a configuration option to either allowlist wanted delimiters (which IMO makes more sense) or to blocklist some (if you prefer this option).
Cheers!
The text was updated successfully, but these errors were encountered: