Test Results

Regular Expression
Original Expression     (?<!min)\.js
as a Java string        "(?<!min)\\.js"
Replacement     
groupCount()    0

Test Target String matches() replaceFirst() replaceAll() lookingAt() find() group(0) 1 /msa-network/msa-network-min.js No /msa-network/msa-network-min.js /msa-network/msa-network-min.js No No 2 /msa-network/msa-network.js No /msa-network/msa-network /msa-network/msa-network No Yes .js


It obviously does not work... See column matches()

Maybe you meant this: .*?(?<!min)\.js

Cheers,
Guillaume

Le 13/01/2012 13:32, mschipperheyn a écrit :
Sorry, try it here
http://www.regexplanet.com/simple/index.html

--
View this message in context: 
http://maven.40175.n5.nabble.com/mavem-war-plugin-packagingExcludes-regex-not-working-tp5139981p5142437.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


Reply via email to