in reply to Actually, regex::assemble would help!
in thread Regex AND

Yes Thomas, if i chose to open the source and recode the parser, i could walk down that road.

However my situation is more like (as pointed out by eyepopslikeamosquito above) the Perl Cookbok 6.18 :

"... So you need to write a single pattern that matches either of two diffe +rent patterns (the "or" case) or both of two patterns (the "and" case +) or that reverses the sense of the match ("not"). This situation arises often in configuration files, web forms, or comm +and-line arguments. ..."

So with that i do consider my problem solved, -- even though as it's written in the recipe :

...It's not a pretty picture, and in a regular program, you'd almost n +ever do this"...

Sic!

Best Regards / Allan Dystrup

"...this very place is the Land of Lotuses..." / Hakuin Ekaku Zenji