RegEx Flashcards
Alternation definition
Chooses one alternative or the other
Bell (alarm) definition
Device control code sent to ring a small bell
Carriage return definition
Returns the position of the cursor to the first position on the same line
Vertical tab definition
A tab function that moves the cursor up or down 6 spaces
Form feed definition
Forces the printer to eject the current page and continue printing at the top of another
ASCII definition
Character encoding standard for electronic communication
ASCII pronunciation
/‘æski:/
Octal definition
A base-8 number system using 0 to 7
ASCII octal number of digits
Up to 3
Hexadecimal definition
Positional system using base of 16
ASCII hexadecimal number of digits
2
Unicode hexadecimal number of digits
4
Control character
A character such as control-C
Word character definition
a-z, A-Z, 0-9, _
Whitespace character
space, tab, newline
Decimal digit definition
0-9
Start of a string metacharacter
Start of a string example
^abc
abc, abcdefg, abc123
End of a string metacharacter
$
End of a string example
abc$
abc, endsinabc, 123abc
Any character (except \n)
.
Any character except \n example
a.c
abc, aac, acc, adc, aec
Alternation metacharacter
|
Alternation example
bill|ted
ted, bill
Explicit quantifier metacharacter
{…}