Regex flavor used by Mayan EDMS

Hello,

I’m creating a Regex for a Metadata field validation, and it generates an error when used. So I’m wondering what flavor of Regex that Mayan uses? Is it Python, PCRE, or something else?

Here’s the Regex I used
\A[0-9A-Z]+A-Z{2}[NS]{2}\M

I’m using Regex Magic by Just Great Software to generate the Regex

Thanks,
Daniel

1 Like

Hi,

The metadata regex validator and parser are using the Regular Expression format provided by the Python standard library named re.

Metadata validator:

Metadata parser:

Python re library:

And the section on the format:

Best regards.

2 Likes

Thank you for the quick, detailed response!

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.