xml-copy-editor-code/src/rulesets/Ize.xml

13 lines
504 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ruleset.xsd">
<title>-ize</title>
<rule>
<report>-ize/-yze</report>
<regex>
<find>\b([a-z]+)(?:(?&lt;=ic|[ai]m|[^a-z]pr|[eiou][tr])|(?&lt;![rd]a|c|gu|m|parad|o|p|r|[acrs]t|v|w))([iy])s(a(?:bl[ey]|tion(?:|al(?:|ly)|s))|e|ed|ers?|(?&lt;!ys)es|ing)\b</find>
<replace adjustcase="true">\1\2z\3</replace>
</regex>
</rule>
</ruleset>