in reply to Re^2: Problems with matching?
in thread Problems with matching?

And I need to use the full names

I used the full names. You might have missed my change to smarter capturing.

You: / ... (\w\w\w\w)(-\w+-\w+) ... / Me: / ... (\w\w\w\w(-\w+-\w+)) ... /