
▲ 5 r/regex
Some trouble I've been going crazy trying to figure out
I'm trying to match (j|w)?[aeo]$ but only on the lines that start with [-].
I've tried making it a conditional, but I'm new and I don't really understand why it doesn't work...
ideally, it should leave the lines that don't start with [-] alone
u/Ricktcher_Supernova — 12 days ago