I've been wondering about this for a long, long time.
Note: This is not useful in anyway unless it is said to be useful by someone... But, I am just wondering if you can write this regex in a weird complicated way:
/^(webp|p(?:ng|hotoshop))$/gm
Can you combine the two 'p's for web'p' and 'p'ng/hotoshop?
Remember it should only match:
webp
png
photoshop
I just couldn't find anything related to this, and I have no idea what to google to know about this.
To my understanding, this must not be possible in regex unless, this happens, ofcourse the below doesn't happen unless you mess with your fonts, really:
