pcre
How to determine if a non-English string is in upper case?
I\'m using the following code to check for a string where all the characters are upper-case letters: if (preg_match(\'/^[\\p{Lu}]+$/\', 开发者_如何学编程$word)) {[详细]
2023-02-27 14:13 分类:问答How do I convert the following expression from POSIX to PCRE? [duplicate]
This question already has answers here: How can I convert ereg expressions to preg in PHP? (4 answers) Closed 3 years ago.[详细]
2023-02-25 15:42 分类:问答nginx : rewrite rule to remove /index.html from the $request_uri
I\'ve seen a few ways to rewrite the $request_uri and add the index.html to it when that particular file exists in the file system, like so:[详细]
2023-02-25 05:48 分类:问答Compiling error C++ - undefined references using PCRE library
I\'m having problems compiling a code to test if the PCRE library is installed correctly. #include <string>[详细]
2023-02-22 18:02 分类:问答using preg_match_all for nested brackets
I have a string like this: This is a {{text}} for {{testing}} PHP {{regular expression}} I use the following pattern to get an array containing {{text}} , {{testing}} , {{regular expression}}[详细]
2023-02-22 06:29 分类:问答Regular Expression explanation: (?>[^<>]+)
How should this, /(?>[^<>]+)/, be interpreted开发者_运维问答 please? (PHP RegExp Engine)[详细]
2023-02-22 02:27 分类:问答Use functions in a DLL without loading it?
I am looking at some c++/c code, the open source ovaldi project. I see that they include pcre.dll in the distribution and are making calls to functions in that library in the code; but they never load[详细]
2023-02-18 12:32 分类:问答Regex PRCE PHP preg_match_all: How do remove empty nodes in matches array?
$text = \'Lorem Ipsum\'; $re = \'/(?<AA>Any)|(?<BB>Lorem)/ui\'; $nMatches = preg_match_all($re, $text, $aMatches);[详细]
2023-02-18 04:20 分类:问答PHP Regexp (PCRE) - Find a set of all substrings 2
For example have a source string: __aaXXccYYeeXX_ZZkkYYmmXX_ZZnnXX开发者_如何转开发ooYYuuXX_ZZvv..[详细]
2023-02-16 19:35 分类:问答Convert POSIX pattern to PCRE in php (eregi to preg_match)
eregi(\"<input[[:space:]]+type=[\\\"\\\'开发者_运维百科]?hidden[\\\"\\\']?[[:space:]]+value=[\\\"\\\']?([^> \\\"\\\']+)[\\\"\\\']?[[:space:]]+name=[\\\"\\\']?(form_page_origine|form_origine|page[详细]
2023-02-16 11:59 分类:问答