Needed to change regex to get it working
-
Gist embeds weren’t working for me.
I had to remove a $ in the regex. My new regex string is:
private $regex = '#(https://gist.github.com/([^\/]+\/)?([a-zA-Z0-9]+)(\/[a-zA-Z0-9]+)?)(\#file(\-|_)(.+))?#i';
Not sure how that happened or maybe if something in WP changed.
I wonder if I can take over this plugin to fix it up.
- The topic ‘Needed to change regex to get it working’ is closed to new replies.