Having tried to drop a negative lookbehind regex into a Phing replaceregexp task and receiving the error:
BUILD FAILED
Error reading project file [wrapped: C:\path\to\build.xml:110:29: > required]
Total time: 0.4800 seconds
I see that the angle-bracket's a problem in the xml. Is there a way to specify a negative lookbehind regex in a build file, or is this something for a custom task?
My aim was to rename references in files to ".js" while leaving all extant '.min.js' references alone using something not unlike:
(<script)(.*)(src=\")(.*)(?<!\.min)(\.js\")