"pattern"的翻译 使用英语:
字典 中国人-英语
例子 (外部来源,未经审查)
| Starts a new pattern definition and returns a pattern handle. width, and height define the bounding box for the pattern. xstep and ystep give the repeated pattern offsets. painttype 1 means that the pattern has its own colour settings whereas a value of 2 indicates that the current colour is used when the pattern is applied. | Starts a new pattern definition and returns a pattern handle. width, and height define the bounding box for the pattern. xstep and ystep give the repeated pattern offsets. painttype 1 means that the pattern has its own colour settings whereas a value of 2 indicates that the current colour is used when the pattern is applied. |
| Pattern | Pattern |
| Pattern Modifiers | The current possible PCRE modifiers are listed below. |
| Finish the pattern definition. | Finish the pattern definition. |
| Note that pattern is case sensitive. | Note that pattern is case sensitive. |
| Pattern Syntax Describes PCRE regex syntax | The differences described here are with respect to Perl 5.005. |
| Pattern Modifiers Describes possible modifiers in regex patterns | If this modifier is set, letters in the pattern match both upper and lower case letters. |
| Set a more complicated dash pattern defined by an array. | Set a more complicated dash pattern defined by an array. |
| Set the current dash pattern to b black and w white units. | Set the current dash pattern to b black and w white units. |
| 瞰赽 1. Checking a color name against a shell wildcard pattern. | Checking a color name against a shell wildcard pattern. |
| Returns an array containing substrings of subject split along boundaries matched by pattern. | Returns an array containing substrings of subject split along boundaries matched by pattern. |
| If this modifier is set, letters in the pattern match both upper and lower case letters. | A negative class such as a always matches a newline character, independent of the setting of this modifier. |
| The ending delimiter may be followed by various modifiers that affect the matching. See Pattern Modifiers. | The ending delimiter may be followed by various modifiers that affect the matching. |
| This can be used to achieve case insensitive pattern matching in products which support only case sensitive regular expressions. | This can be used to achieve case insensitive pattern matching in products which support only case sensitive regular expressions. |
| Returns TRUE if a match for pattern was found in string, or FALSE if no matches were found or an error occurred. | Returns TRUE if a match for pattern was found in string, or FALSE if no matches were found or an error occurred. |
| Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by flags. | Searches subject for all matches to the regular expression given in pattern and puts them in matches in the order specified by flags. |
| When a pattern is going to be used several times, it is worth spending more time analyzing it in order to speed up the time taken for matching. If this modifier is set, then this extra analysis is performed. At present, studying a pattern is useful only for non anchored patterns that do not have a single fixed starting character. | This modifier turns on additional functionality of PCRE that is incompatible with Perl. |
| If this flag is set, parenthesized expression in the delimiter pattern will be captured and returned as well. This flag was added for 4.0.5. | This flag was added for 4.0.5. |
| This modifier turns on additional functionality of PCRE that is incompatible with Perl. Pattern strings are treated as UTF 8. This modifier is available from PHP 4.1.0 or greater on Unix and from PHP 4.2.3 on win32. | This modifier is available from PHP 4.1.0 or greater on Unix and from PHP 4.2.3 on win32. |
| The power of regular expressions comes from the ability to include alternatives and repetitions in the pat tern. These are encoded in the pattern by the use of meta characters, which do not stand for themselves but instead are interpreted in some special way. | All the sequences that define a single byte value can be used both inside and outside character classes. |
| This modifier turns on additional functionality of PCRE that is incompatible with Perl. Any backslash in a pattern that is followed by a letter that has no special meaning causes an error, thus reserving these combinations for future expansion. By default, as in Perl, a backslash followed by a letter with no special meaning is treated as a literal. There are at present no other features controlled by this modifier. | This modifier turns on additional functionality of PCRE that is incompatible with Perl. |