“Control characters” is one of the patterns that you can select on the Match panel. Use this pattern to restrict a field to a certain set of ASCII characters. The repetition settings for the field determine how many characters the field can or must match.
This example shows how you can use the “control characters” pattern to match an identifier in a hypothetical programming language. This language allows identifiers that consist of any combination of letters, digits, dollar signs, and underscores. You can find this example as “Pattern: control characters” in the RegexMagic library.
41 53 43 49 49 20 63 6F 6E 74 72 6F 6C 20 63 68
61 72 61 63 74 65 72 73 3A 00 01 02 03 04 05 06
07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16
17 18 19 1A 1B 1C 1D 1E 1F
above the sample. RegexMagic adds control character 0x0B to the pattern.
[\t\v]Unused options: Case sensitive; Exact spacing; Dot doesn’t match line breaks; ^$ don’t match at line breaks.
41 53 43 49 49 20 63 6F 6E 74 72 6F 6C 20 63 68 ASCII control ch 61 72 61 63 74 65 72 73 3A 00 01 02 03 04 05 06 aracters:␀␁␂␃␄␅␆ 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 ␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖ 17 18 19 1A 1B 1C 1D 1E 1F ␗␘␙␚␛␜␝␞␟