testing: fix a bug (incorrect " at end of line for "well-defined") and some
overmatching problems
@@ -26,7 +26,7 @@ s/([Ss])ummarise/\1ummarize/g
s/([Ss])ynchronisation/\1ynchronization/g
s/([Ss])ynchronised/\1ynchronized/g
s/\<([Uu]tili)s/\1z/g
-s/([Pp])rogramm(e)?(s)?/\1rogram\3/g
+s/^([Pp])rogramm(e)?(s)?$/\1rogram\3/g
# ==========
# = Brands =
@@ -93,16 +93,16 @@ s/\<[^-]symlink/symbolic link/g
s/\<([Mm])iddle[- ][Ww]are/\1iddleware/g
# plural
-s/\<([Ff])iles?[- ]?[Ss]ystem(s)?\>/\1ile system\2/g
-s/\<([Tt])ypes?[- ]?[Ss]ystem(s)?\>/\1ype system\2/g
-s/\<([Tt])ypes?[- ]?[Cc]hecker(s)?\>/\1ype checker\2/g
+s/\<^([Ff])iles?[- ]?([Ss])ystem(s)?$\>/\1ile \2ystem\3/g
+s/\<^([Tt])ypes?[- ]?([Ss])ystem(s)?$\>/\1ype \2ystem\3/g
+s/\<^([Tt])ypes?[- ]?([Cc])hecker(s)?$\>/\1ype \2hecker\3/g
s/\<([Tt])ypecheck((s|ing)?)\>/\1ype check\2/g
s/\<([Ii])nformations\>/\1nformation/g
# hyphens
s/\<([Ff])ull[- ]?[Bb]lown\>/\1ull-blown/g
-s/\<([Ww])ell[- ]?[Dd]efined\>/\1ell-defined/g"
+s/\<([Ww])ell[- ]?[Dd]efined\>/\1ell-defined/g
s/\<([Ss])o[- ]?[Cc]alled\>/\1o-called/g
s/\<([Ee])rror[- ]?[Pp]rone\>/\1rror-prone/g
s/\<([Ee])rror[- ]?[Rr]elated\>/\1rror-related/g
