Post #3837260
2026-07-15 16:57 UTC
I set myself up for an editing nightmare early in the story. When using the word 'grey,' I use the "British" spelling with the vowel being an 'e' instead of an 'a' (which is more typical in American English. You can remember that easily by saying E is for England and A is for America.
It's one of my bugbears that I use e in grey.
The editing challenge is that I have a character named Allison Gray.
I have my chapters in separate files so I can grep -E "[Gg]ray" ch_*.md to confirm whether there are mistakes on one end and then use the same (but putting the e in place of the a) on the other end. (Careful observers will realize there's probably an easier way to do the grep but looking it up would be as distracting as writing this post is.)
It appears I haven't made any mistakes yet. Or I caught them earlier.
Replies (1)
-
@JallBarret@hol.ogra.ph 2026-07-15 17:04
Turns out the case insensitive flag is just -i. I should probably start the regex with \b but this would mainly catch some cases where I should have used a space and missed it.