I have two cases to match: either
# ... ([0-9]+,[0-9]+) € ... #
or
# ... (--) ... #
Now,
# ... (?:(--)|([0-9]+,[0-9]+) €) ... #
isn’t working, it says
Unknown modifier '(' ...
I’m using preg_match_all() on PHP 5.3
Those above are NOT the full expressions, just extracts!
Your regular expression works without errors:
Please post your PHP code so we can identigy the problem