ANPR LUMO | installation guide
An atom is defined as being a character or character range.
A single atom can be repeated with the * , +, ?, and {} operators.
The * operator will match the preceding atom zero or more times, for example the expression A*B will match any of the
following: B AB AAAAAAAAAB or the expression A[BC]*D will match AD ABCD ACCCBBD
The + operator will match the preceding atom one or more times, for example the expression A+B will match any of the
following: AB AAAAAAAAB But will not match: B
The ? operator will match the preceding atom zero or one time, for example the expression CA?B will match any of the
following: CB CAB But will not match: CAAB
An atom can also be repeated with a bounded repeat, where the number of allowed repeats is defined as part of the
regular expression:
A{n} Matches 'A' repeated exactly n times.
A{n,} Matches 'A' repeated n or more times.
A{n, m} Matches 'A' repeated between n and m times inclusive.
For example:
A{2,3}
Will match either of: AA AAA But neither of: A AAAA
The following paragraphs give some examples for regular expressions and use cases:
To match any license plate strings of at least length 1:
.+
Match license plate strings which consist of digits only:
[0-9]+
Match all taxis, under the assumption that taxis have a license plate string that ends with TX:
.+TX
Match all license plates that start with a letter and end with a digit:
[A-Z]+.*[0-9]+
Match all license plates from the Nedap company, assuming that their license plates consist of a NEDAP string and a
following 3 number digit (like NEDAP001):
NEDAP[0-9]{3}
When making a list using regular expressions, the string should always start with "!" sign.
6.3.1 Wiegand matchlist
The Wiegand matchlist makes it possible to match a license plate with a pre-defined Wiegand ID.