http://www.perlmonks.org?node_id=256511

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Writing some code that builds the VM args string for a java program. I'm completely regex ignorant, was wondering if someone could help...

Given a string containing the following:

-Dname1=2 -Dname2.3="anything" -Djetty.home=c:\a\b\c or -Dname1=2 -Dname2.3="anything" -jetty.home="c:\a\b\c"

What would be a pattern that matches:

-Djetty.home=anything_up_to-whitespace_or_eol or -Djetty.home="anything_up_to[" or eol]

make sense? Thanks! Geoff

update (broquaint): title change (was Regex match newbie)