Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex tweak to allow use in WordPress themes #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jpadvo
Copy link

@jpadvo jpadvo commented Dec 1, 2010

The scriptHost regular expression wouldn't work for long urls like this: http://localhost/project_name/wp-content/themes/theme_name/topup/javascripts/top_up.js

So I tweaked it using a positive lookahead. I posted this as an issue a while back, then learned about the ability to use a pull request. So, if you like it here it is!

unknown added 2 commits December 1, 2010 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant