Hello,
My first post ;-)
Thank you for this usefull function.
My 2 cents: I tryed the following regexp: "::^.*(A01|EKI)[ -].*\..*$::" as a pattern in your function that gives an error but this one "::^.*A01[ -].*\..*$::" doesn't.
So I was wondering if the regexp's "OR" symbolysed by | was available or if I did a regexp syntax error ?
Thanks