tweak(regex): Enhance Colourisation description to clarify matching criteria for American and British spellings
This commit is contained in:
parent
2818000367
commit
7ab2b5c86b
|
|
@ -1,12 +1,17 @@
|
||||||
name: Colourisation
|
name: Colourisation
|
||||||
pattern: \bcolou?r(i[sz]ed?|ed)?\b
|
pattern: \bcolou?r(i[sz]ed?|ed)?\b
|
||||||
description: 'Colourisation (or colorization in American English) is the process of
|
description: 'Colourisation (or colorization in American English) is the process of
|
||||||
adding colour to black-and-white, sepia, or other monochrome images.
|
adding colour to black-and-white, sepia, or other monochrome images. Matches variations
|
||||||
|
of `color` in both American and British spellings, including:
|
||||||
|
|
||||||
|
|
||||||
- Matches `colour`, `coloured`, `colourize`, `colourized`.
|
- **Base forms:** `color`, `colour`
|
||||||
|
|
||||||
- Handles both American ("color") and British ("colour") spellings.'
|
- **Past tense/adjective forms:** `colored`, `coloured`
|
||||||
|
|
||||||
|
- **Verb forms:** `colorize`, `colourize`, `colorise`, `colourise`
|
||||||
|
|
||||||
|
- **Past participles:** `colorized`, `coloured`, `colourized`, `colourised`'
|
||||||
tags:
|
tags:
|
||||||
- Colour Grade
|
- Colour Grade
|
||||||
- Enhancement
|
- Enhancement
|
||||||
|
|
@ -14,7 +19,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 1
|
id: 1
|
||||||
input: colour
|
input: colour
|
||||||
lastRun: '2025-02-13T13:29:13.301346'
|
lastRun: '2025-02-16T14:15:44.717864'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 6
|
end: 6
|
||||||
start: 0
|
start: 0
|
||||||
|
|
@ -25,7 +30,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 3
|
id: 3
|
||||||
input: coloured
|
input: coloured
|
||||||
lastRun: '2025-02-13T13:29:13.301346'
|
lastRun: '2025-02-16T14:15:44.717864'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 8
|
end: 8
|
||||||
start: 0
|
start: 0
|
||||||
|
|
@ -36,7 +41,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 4
|
id: 4
|
||||||
input: colourise
|
input: colourise
|
||||||
lastRun: '2025-02-13T13:29:13.301346'
|
lastRun: '2025-02-16T14:15:44.717864'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 9
|
end: 9
|
||||||
start: 0
|
start: 0
|
||||||
|
|
@ -47,7 +52,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 7
|
id: 7
|
||||||
input: colourised
|
input: colourised
|
||||||
lastRun: '2025-02-13T13:29:13.301346'
|
lastRun: '2025-02-16T14:15:44.717864'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 10
|
end: 10
|
||||||
start: 0
|
start: 0
|
||||||
|
|
@ -58,7 +63,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 8
|
id: 8
|
||||||
input: colored
|
input: colored
|
||||||
lastRun: '2025-02-13T13:29:13.301346'
|
lastRun: '2025-02-16T14:15:44.717864'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 7
|
end: 7
|
||||||
start: 0
|
start: 0
|
||||||
|
|
@ -69,7 +74,7 @@ tests:
|
||||||
- expected: false
|
- expected: false
|
||||||
id: 9
|
id: 9
|
||||||
input: discolor
|
input: discolor
|
||||||
lastRun: '2025-02-13T13:29:13.301346'
|
lastRun: '2025-02-16T14:15:44.717864'
|
||||||
matchSpan: null
|
matchSpan: null
|
||||||
matchedContent: null
|
matchedContent: null
|
||||||
matchedGroups: []
|
matchedGroups: []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue