Skip to content

Regex tweak to allow use in WordPress themes#25

Open
jpadvo wants to merge 2 commits intoarchan937:masterfrom
jpadvo:master
Open

Regex tweak to allow use in WordPress themes#25
jpadvo wants to merge 2 commits intoarchan937:masterfrom
jpadvo:master

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