View Single Post
Old 05-23-2025, 11:57 PM   #10811
ThreeLizards
Member
ThreeLizards began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
Quote:
Originally Posted by JimmXinu View Post
The key phrase is 'global flags not at the start of the expression at position 1'

Use: (?i)^.*omega verse.*$
Note the ^ is after the (?i) switch.

The site https://regex101.com/ is very good about explaining *why* a regexp is wrong. Click Python for the Flavor.

Note that a quirk of FFF/Python3 is that you end up needing ^ and $ more often than not to match full strings.
Tried this at the regex website and it still doesn't match up, and I tried it on the fanficfare and it didn't work there

Code:
 tags_modified=>(?i)^.*Alpha/Beta/Omega.*$=>Trope: A/B/O Omegaverse
I'm wondering if it's the slashes in the A/B/O. Cuz if I do ABO Omegaverse it works? (without the up arrow too)

Yeah, just double checked and this

Code:
 tags_modified=>(?i).*Alpha/Beta/Omega.*$=>Trope: ABO Omegaverse
works

Last edited by ThreeLizards; 05-24-2025 at 12:02 AM. Reason: double checked that the thing worked in fanficfare
ThreeLizards is offline   Reply With Quote