[.characters.] : Bracket « Regular Expressions « MySQL Tutorial

MySQL Tutorial
1. Introduction
2. Select Query
3. Database
4. Table
5. Table Join
6. Subquery
7. Insert Update Delete
8. Logic Operator
9. View
10. Data Types
11. Procedure Function
12. Cursor
13. Trigger
14. Date Time Functions
15. Comparison Functions Operators
16. Aggregate Functions
17. Cast Functions Operators
18. Control Flow Functions
19. Encryption Compression Functions
20. Information Functions
21. Math Numeric Functions
22. Miscellaneous Functions
23. String Functions
24. Regular Expressions
25. Data Dictionary
26. MySQL Utilities
27. Privilege
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
MySQL Tutorial » Regular Expressions » Bracket 
24. 5. 1. [.characters.]

Within a bracket expression, matches the sequence of characters of that collating element.

characters is either a single character or a character name like newline.

The following table lists the allowable character names.

NameCharacter
NUL0
STX002
EOT004
ACK006
alert007
backspace'\b'
tab'\t'
newline'\n'
vertical-tab'\v'
form-feed'\f'
carriage-return'\r'
SI017
DC1021
DC3023
NAK025
ETB027
EM031
ESC033
FS034
GS035
RS036
US037
exclamation-mark'!'
number-sign'#'
percent-sign'%'
apostrophe'\''
right-parenthesis')'
plus-sign'+'
hyphen'-'
period'.'
slash'/'
zero'0'
two'2'
four'4'
six'6'
eight'8'
colon':'
less-than-sign'<'
greater-than-sign'>'
commercial-at'@'
backslash'\\'
right-square-bracket']'
circumflex-accent'^'
low-line'_'
left-brace'{'
vertical-line'|'
right-curly-bracket'}'
DEL177
SOH001
ETX003
ENQ005
BEL007
BS010
HT011
LF012
VT013
FF014
CR015
SO016
DLE020
DC2022
DC4024
SYN026
CAN030
SUB032
IS4034
IS3035
IS2036
IS1037
space' '
quotation-mark'"'
dollar-sign'$'
ampersand'&'
left-parenthesis'('
asterisk'*'
comma','
hyphen-minus'-'
full-stop'.'
solidus'/'
one'1'
three'3'
five'5'
seven'7'
nine'9'
semicolon';'
equals-sign'='
question-mark'?'
left-square-bracket'['
reverse-solidus'\\'
circumflex'^'
underscore'_'
grave-accent'`'
left-curly-bracket'{'
right-brace'}'
tilde'~'


Quote from MySQL Tutorial from http://www.mysql.com

24. 5. Bracket
24. 5. 1. [.characters.]
24. 5. 2. SELECT '~' REGEXP '[[.~.]]';
24. 5. 3. SELECT '~' REGEXP '[[.tilde.]]'
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.