I have a regex question. My ini the following lines:
Code:
## Full name or additional info for relationships
## 1. Make these two word names one word before the 'first part only' line.
ships_CHARS=>[pP]ast (.*)=>past_\1
## strip each ships char down to first part only
ships_CHARS=>^([^ ]+).*$=>\1
## 2. Change the two words names back into separate words
ships_CHARS=>past_(.*)=>past \1
(This is just the relevant lines. If the full ini is necessary, I'll post it.)
For example, in this story
https://archiveofourown.org/works/28197405, the regex results in "Claude/past Sylvain", which is expected. What I would like to get is something like "past Claude/Sylvain".
I'm not sure how to do that because FFF sorts the ships alphabetically, but in this instance I don't want it to sort the ship. I want "past" to be the first part of the whole ship. Could someone help me?