Tweak(regex): Rename Colour to Colourisation with tests focused on British spellings

This commit is contained in:
gehrleib 2025-02-15 15:27:18 -05:00
parent 40b7a300da
commit 60dd791ef7
1 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
name: Colour
pattern: \bcolou?r(i[sz]ed?|ed)?\b
description: '- Matches `colour`, `coloured`, `colourize`, `colourized`.
description: '- Matches `colour`, `coloured`, `colourise`, `colourised`.
- Handles both American ("color") and British ("colour") spellings.'
tags:
@ -31,25 +31,25 @@ tests:
passes: true
- expected: true
id: 4
input: colourize
input: colourise
lastRun: '2025-02-13T13:29:13.301346'
matchSpan:
end: 9
start: 0
matchedContent: colourize
matchedContent: colourise
matchedGroups:
- ize
- ise
passes: true
- expected: true
id: 7
input: colourized
input: colourised
lastRun: '2025-02-13T13:29:13.301346'
matchSpan:
end: 10
start: 0
matchedContent: colourized
matchedContent: colourised
matchedGroups:
- ized
- ised
passes: true
- expected: true
id: 8