correctly detect -ise suffix at end of word only
...in translation linting rulepull/1/head^2
parent
b069164fbf
commit
f2950efca6
|
@ -34,7 +34,7 @@ var special_rules = {};
|
|||
|
||||
special_rules.en = function (s) {
|
||||
// Prefer the american -ize suffix for verbs rather than -ise
|
||||
return /[^w]ise/.test(s);
|
||||
return /[^w]ise(\s|$)/.test(s);
|
||||
};
|
||||
|
||||
special_rules.fr = function (s) {
|
||||
|
|
Loading…
Reference in New Issue