character_class_names.qbk 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. [/
  2. Copyright 2006-2007 John Maddock.
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt).
  6. ]
  7. [section:character_classes Character Class Names]
  8. [section:std_char_classes Character Classes that are Always Supported]
  9. The following character class names are always supported by Boost.Regex:
  10. [table
  11. [[Name] [POSIX-standard name] [Description]]
  12. [[alnum] [Yes] [Any alpha-numeric character.]]
  13. [[alpha] [Yes] [Any alphabetic character.]]
  14. [[blank] [Yes] [Any whitespace character that is not a line separator.]]
  15. [[cntrl] [Yes] [Any control character.]]
  16. [[d] [No] [Any decimal digit]]
  17. [[digit] [Yes] [Any decimal digit.]]
  18. [[graph] [Yes] [Any graphical character.]]
  19. [[l] [No] [Any lower case character.]]
  20. [[lower] [Yes] [Any lower case character.]]
  21. [[print] [Yes] [Any printable character.]]
  22. [[punct] [Yes] [Any punctuation character.]]
  23. [[s] [No] [Any whitespace character.]]
  24. [[space] [Yes] [Any whitespace character.]]
  25. [[unicode] [No] [Any extended character whose code point is above 255 in value.]]
  26. [[u] [No] [Any upper case character.]]
  27. [[upper] [Yes] [Any upper case character.]]
  28. [[w] [No] [Any word character (alphanumeric characters plus the underscore).]]
  29. [[word] [No] [Any word character (alphanumeric characters plus the underscore).]]
  30. [[xdigit] [Yes] [Any hexadecimal digit character.]]
  31. ]
  32. [endsect]
  33. [section:optional_char_class_names Character classes that are supported by Unicode Regular Expressions]
  34. The following character classes are only supported by Unicode Regular Expressions:
  35. that is those that use the `u32regex` type. The names used are the same as
  36. those from Chapter 4 of the Unicode standard.
  37. [table
  38. [[Short Name] [Long Name]]
  39. [[ ] [ASCII]]
  40. [[ ] [Any]]
  41. [[ ] [Assigned]]
  42. [[C*] [Other]]
  43. [[Cc] [Control]]
  44. [[Cf] [Format]]
  45. [[Cn] [Not Assigned]]
  46. [[Co] [Private Use]]
  47. [[Cs] [Surrogate]]
  48. [[L*] [Letter]]
  49. [[Ll] [Lowercase Letter]]
  50. [[Lm] [Modifier Letter]]
  51. [[Lo] [Other Letter]]
  52. [[Lt] [Titlecase]]
  53. [[Lu] [Uppercase Letter]]
  54. [[M*] [Mark]]
  55. [[Mc] [Spacing Combining Mark]]
  56. [[Me] [Enclosing Mark]]
  57. [[Mn] [Non-Spacing Mark]]
  58. [[N*] [Number]]
  59. [[Nd] [Decimal Digit Number]]
  60. [[Nl] [Letter Number]]
  61. [[No] [Other Number]]
  62. [[P*] [Punctuation]]
  63. [[Pc] [Connector Punctuation]]
  64. [[Pd] [Dash Punctuation]]
  65. [[Pe] [Close Punctuation]]
  66. [[Pf] [Final Punctuation]]
  67. [[Pi] [Initial Punctuation]]
  68. [[Po] [Other Punctuation]]
  69. [[Ps] [Open Punctuation]]
  70. [[S*] [Symbol]]
  71. [[Sc] [Currency Symbol]]
  72. [[Sk] [Modifier Symbol]]
  73. [[Sm] [Math Symbol]]
  74. [[So] [Other Symbol]]
  75. [[Z*] [Separator]]
  76. [[Zl] [Line Separator]]
  77. [[Zp] [Paragraph Separator]]
  78. [[Zs] [Space Separator]]
  79. ]
  80. [endsect]
  81. [endsect]