Problem
Math these characters
- bell
- escape
- form feed
- line
- feed
- carriage return
- horizontal tab
- vertical tab
1
2hexadecimal ASCII codes :
07, 1B, 0C, 0A, 0D, 09, 0B
Solution
1 | \a\e\f\n\r\t\v |
- Regex options: None
- Regex flavors: .NET, Java, PCRE, Python, Ruby
1 | \x07\x1B\f\n\r\t\v |
- Regex options: None
- Regex flavors: .NET, Java, JavaScript, Python, Ruby
1 | \a\e\f\n\r\t\x0B |
- Regex options: None
- Regex flavors: .NET, Java, PCRE, Perl, Python, Ruby
Representation | Meaning | Hex | Regex flavors |
---|---|---|---|
‹\a› | bell | 0x07 | .NET, Java, PCRE, Perl, Python, Ruby |
‹\e› | escape | 0x1B | .NET, Java, PCRE, Perl, Ruby |
‹\f› | form feed | 0x0C | .NET, Java, JavaScript, PCRE, Perl, Python, Ruby |
‹\n› | line feed (newline) | 0x0A | .NET, Java, JavaScript, PCRE, Perl, Python, Ruby |
‹\r› | carriage return | 0x0D | .NET, Java, JavaScript, PCRE, Perl, Python, Ruby |
‹\t› | horizontal tab | 0x09 | .NET, Java, JavaScript, PCRE, Perl, Python, Ruby |
‹\v› | vertical tab | 0x0B | .NET, Java, JavaScript, Python, Ruby, Perl-5.10, PCRE-7.2 |
Variations
1 | \cG\x1B\cL\cJ\cM\cI\cK |
- Regex options: None
- Regex flavors: .NET, Java, JavaScript, PCRE, Perl, Ruby 1.9
The 7-bit character set1
\x07\x1B\x0C\x0A\x0D\x09\x0B
- Regex options: None
- Regex flavors: .NET, Java, JavaScript, PCRE, Perl, Python, Ruby