Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016
Page 139
Vision Sensor Manual
Reference string
Hit
Example for hit
123
String containing 123
01234
\A123
String beginning with 123
1234
123\Z
String ending by 123
0123
\A123\Z
String matching exactly 123
123
[123]
String containing one of the characters
33
[123]{2}
String containing sequence of the characters of length 2
23
[12]|[34]
String containing a character of one of both groups
4
Most important elements of regular expressions:
^ or \AMatches start of string
$ or \ZMatches end of string (a trailing newline is allowed)
.Matches any character except newline
[...]Matches any character listed in the brackets. If the first character is a '^', this matches any character
except those in the list. You can use the '-' character as in '[A-Z0-9]' to select character ranges. Other
characters lose their special meaning in brackets, except '\'.
*Allows 0 or more repetitions of preceding literal or group
+Allows 1 or more repetitions
?Allows 0 or 1 repetitions
{n,m}Allows n to m repetitions
{n}Allows exactly 'n' repetitions
|Separates alternative search expressions
4.6.3.10.3 Barcode detector, tab Quality
Summary of Contents for SBSC-EN
Page 1: ......