Skip documentation navigation

Pattern packs

The three pattern kinds

KindEntryCompiled form
phrase{"phrase": "delv(?:e|es|ed|ing)", "fix": "look at"}/\b(?:delv(?:e|es|ed|ing))\b/gi
opening{"opening": "ultimately", "fix": "cut"}/(?<=^|[.!?]\s+)(?:ultimately)/gim
regex{"regex": "\\bparadigm\\b(?! shift)", "fix": "model"}/\bparadigm\b(?! shift)/gi

Every ' inside a phrase or an opening compiles to ['’], so the straight and the curly apostrophe both match. The g flag is forced on for a regex entry.