The regular expression used in the JVO portal is the same as the
implementation of PostgreSQL.
- '.' matches any single character. 'a.c' matches with 'abc', 'aXc', ...
- '*' represents a sequence of 0 or more matches of the preceding
atom. 'a*' matches with 'a', 'ab', 'abcd'... '.*' matches any length
of a string.
- '+' represents a sequence of 1 or more matches of the preceding
atom. 'a+' matches 'ab' but not matches 'a'. '.+' matches
a string with > 0 length.
- '?' represents a sequence of 0 or 1 matches of the preceding atom.
- '^' is a constraint which represents a matche at the beginning of the string.
'^a' matches a string which starts with 'a'.
- '$' is a constraint which represents a matche at the end of the string.
'a$' matches a string which ends with 'a'.
- '[abc]' matches any one of the character in the bracket.
- 'aaa|bbb' matches 'aaa' or 'bbb'.
- If the condition string contains any one of the following symbols,
it must be escaped with a backslash '\' :
'\', '(', ')', '{', '}', '[', ']', '*', '+', '-', '.', '?', '^', '$', '|', '/'.
e.g. 'H0302+1356' --> 'H0302\+1356'
More details can be found in the
PostgreSQL document.