version 1.1.1.2, 2012/02/21 23:50:25
|
version 1.1.1.3, 2012/10/09 09:19:17
|
Line 285 Character classes
|
Line 285 Character classes
|
|
|
If there is only one character in the class, OP_CHAR or OP_CHARI is used for a |
If there is only one character in the class, OP_CHAR or OP_CHARI is used for a |
positive class, and OP_NOT or OP_NOTI for a negative one (that is, for |
positive class, and OP_NOT or OP_NOTI for a negative one (that is, for |
something like [^a]). However, OP_NOT[I] can be used only with single-unit | something like [^a]). |
characters, so in UTF-8 (UTF-16) mode, the use of OP_NOT[I] applies only to | |
characters whose code points are no greater than 127 (0xffff). | |
|
|
Another set of 13 repeating opcodes (called OP_NOTSTAR etc.) are used for |
Another set of 13 repeating opcodes (called OP_NOTSTAR etc.) are used for |
repeated, negated, single-character classes. The normal single-character |
repeated, negated, single-character classes. The normal single-character |
Line 467 item giving the length of the next item.
|
Line 465 item giving the length of the next item.
|
|
|
|
|
Philip Hazel |
Philip Hazel |
December 2011 | February 2012 |