Thread: GINA question
View Single Post
  #17  
Old 06-15-2021, 06:28 PM
Kavious Kavious is offline
Planar Protector


Join Date: Nov 2015
Posts: 1,304
Default

Quote:
Originally Posted by Frug [You must be logged in to view images. Log in or Register.]
Superfluous.

{S} tells the group.*harm.*

will catch everything yours will. It'll also get "charm", but harm|harmo|harmony is just redundant in a regular expression since "harm" covers harmo and harmony both.
You're right, I was just trying to keep syntax similar to what Fungus originally had.

You can have it ignore lines that contain certain words. Something like:

^(?!.*(charm|harmless)).*{S} tells the group.*harm.*
__________________
Kav