I’m working on a multiplatform system. We would like to use regex to test strings in a certain format. The regex would be written once in a db and used by the 3 different platforms. So do you know if there are differences in the manner the regex are written? If yes, is it totally different or only a few things are different?
Here is an example:
[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
Regards
Simple regex patterns will be fine across different implementations, however there are defferences for more complex matches. Yet there are limited number of common variations, namely POSIX and Perl regex. So you can have two columns for them in DB, which will be quite enough in most of the cases.