Advertisement
smeech

Case-insensitive regex expansion with word: true functionality

Nov 26th, 2024 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.20 KB | Software | 0 0
  1. # A case-insensitive trigger expansion with word: true functionality.
  2. # Triggered by "example ????", "EXAMPLE ?????", "exaMPLe ????" etc.:
  3.  
  4.   - regex: (?i)\bexample(?P<w>\W)
  5.     replace: Something{{w}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement