pcre
Regexp: group for every found item (PCRE)
I am using PCRE with C++ (Borland) and want to get all matches of a group. ^(\\w+\\s)(\\w+\\s)*(\\w+)$[详细]
2023-02-15 13:48 分类:问答PHP says "PCRE is not compiled with UTF-8"
I have a webserver with some personal websites and stuff, it\'s running Debian Lenny, Apache 2 and PHP 5. I always use apt to install stuff.[详细]
2023-02-14 22:40 分类:问答PCRE and Whitespace
Using PCRE lib...wanting to look for a string of words up to a known number of whitespace. i.e.5 white space characters between tokens.[详细]
2023-02-14 12:57 分类:问答PHP PCRE - correct nested tags behaviour
I want to write symple (consisting of one preg_replace call) forum parser and I run into problems with nested tags.[详细]
2023-02-13 00:31 分类:问答preg_match condition when the block will execute?
preg_match condition when the block will execute? I have an $A = Array ( [0] => KSO/OCMT/GBP66401,/ 001 VTS EMIS 43628[详细]
2023-02-12 07:11 分类:问答Matching Unicode letter characters in PCRE/PHP
I\'m trying to write a reasonably permissive validator for names in PHP, an开发者_JS百科d my first attempt consists of the following pattern:[详细]
2023-02-10 09:08 分类:问答using libpcre in recursive functions
Anyone have any ideas as to what is going on here? I have a recursive function, which sometimes makes calls to pcre to match patterns within a string that is being built. It works fine if there are no[详细]
2023-02-09 13:34 分类:问答PCRE regular expressions using named pattern subroutines
I am experimenting with the named subpattern/\'subroutine\' regex features in PHP\'s PCRE and I\'m hoping someone can explain the following strange output:[详细]
2023-02-09 04:08 分类:问答C + + and PCRE question
I want to ask you how to match this MD5 hash in C + + with PCRE: # Netscape HTTP Cookie File # http://curl.haxx.se/rfc/cookie_spec.html[详细]
2023-02-07 04:51 分类:问答Matching Parentheses with Division Operator - Regex
Examples: input: (n!/(1+n)) output: frac{n!}{1+n} input: ((n+11)!/(n-k)^(-1)) output: frac{(n+11)!}{(n-k)^(-1)}[详细]
2023-02-05 17:07 分类:问答