Commit graph

297 commits

Author SHA1 Message Date
Christoph Michael Becker
f41fee15b5 Fix : Misleading quote concerning PCRE in "UTF-8 mode"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339309 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-07 14:28:24 +00:00
Christoph Michael Becker
91b8b05f52 fix : Inconsitent $ escaping in preg_replace replacement patterns
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339301 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-06 16:54:44 +00:00
Peter Cowburn
62e96a7df3 \R is commonly used but still missing from the manual
--
Provided by Alexander Makarov (sam@rmcreative.ru)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339182 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-17 22:22:52 +00:00
Christoph Michael Becker
d62d6b01c4 minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338862 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-31 18:48:08 +00:00
Christoph Michael Becker
717ac3060f partially fixed bug : preg_replace_callback is not marked as available in PHP7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338400 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-03 13:56:50 +00:00
Adam Harvey
72af2380f5 Cut down the preg_replace_callback_array() part of the migration guide.
I've removed the example: it was terrific, but the function reference has a
good example, and it was much too long for the page.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337869 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-21 12:17:02 +00:00
Philip Olson
fffa6686bb PCRE library upgrade updates
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337753 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-04 17:55:51 +00:00
Karoly Negyesi
5d70fe7a40 Documenting Unicode character properties inside character classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337628 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-25 18:58:07 +00:00
Christoph Michael Becker
ae2e4360c9 maximum number of captured substrings may not be reachable (fixes )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337592 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-23 13:53:50 +00:00
Christoph Michael Becker
8a1b96facb recommend PCRE 8.10 for current PHP versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337590 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-22 16:52:04 +00:00
Simion Onea
7050d96265 Corrected/added SVN properties, especially svn:keywords.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 15:27:48 +00:00
Thomas Punt
3485a1d2b3 Add version information to preg_replace_callback_array()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337511 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 10:12:36 +00:00
Christoph Michael Becker
e9be1b6379 The page for strstr() recommends using strpos(). preg_match() should match this recommendation.
-- 
Provided by anonymous 62208 (Liam Morland)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337467 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 01:16:19 +00:00
Thomas Punt
03393b1f43 Added preg_replace_callback_array function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337413 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-12 15:39:47 +00:00
Christoph Michael Becker
84a87a7fa9 documented PREG_JIT_STACKLIMIT_ERROR
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337283 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-04 02:14:47 +00:00
Christoph Michael Becker
c0024126d1 updated PCRE documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337221 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-22 12:30:09 +00:00
Christoph Michael Becker
f0e566aee7 documented \g<name> and \g'name' syntax for PCRE patterns (fixes bug )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336943 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 14:13:44 +00:00
Maciej Sobaczewski
86727eb89e Document PREG_REPLACE_EVAL removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336806 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-20 05:15:44 +00:00
Pieter Hordijk
61b8c6fb86 Fixed references to examples / explanation "below" and "above" to actually link to the content.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336703 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-30 19:32:03 +00:00
Maciek Sokolewicz
cbe2facb3e added paragraph explaining the way whitespace characters are handled by PCRE (patch by Christoph M. Becker)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336248 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 20:47:03 +00:00
Dan Ackroyd
cc6711c55b Corrected order. The example is showing that the order is unexpected, and that you need to sort to get the 'right' order.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335841 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-29 19:33:59 +00:00
Daniel Convissor
f08a981a30 Add preg_quote() to See Also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335337 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-22 16:03:21 +00:00
Adam Harvey
7506ffce44 Include delimiter in preg_quote() example.
Fixes doc bug  (Bad practice preg_quote() example).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335316 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-19 23:23:36 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
8b5940cade Remove changelogs for PHP 4 - 2nd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
afc3f34c68 Remove changelogs for PHP 4 - 1st round
Useful changelogs entries remain untouched.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
3e71d7cc2f tidy example and paragraph introduction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334412 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-29 13:36:04 +00:00
Peter Cowburn
0155d14f57 move bracket delimiters paragraph again
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334411 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-29 13:36:00 +00:00
Chris Wright
d28c33adb9 Clarify some details of using bracket-style delimiters in regular expression patterns
Patch suggested by Brandon Kelly (brandon@pixelandtonic.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334410 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-29 12:46:16 +00:00
Peter Cowburn
092ad46255 extra bracket delimiters examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334409 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-29 11:22:38 +00:00
Peter Cowburn
9284ca6f8a move bracket delimiters paragraph up a bit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334408 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-29 11:22:34 +00:00
Peter Cowburn
aa43a24ec6 Patch by anonymous
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333668 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 13:12:06 +00:00
Philip Olson
0b89623f80 Cleaned up the disable/enable information a bit by assuming PHP 5.3.0 is old.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333545 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-15 17:06:53 +00:00
Philip Olson
8feb3ece95 PHP 5.5.10 updated the bundled PCRE library from 8.32 to 8.34
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333544 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-15 16:33:44 +00:00
Nikita Popov
f98fbc326d Fix the programlisting markup
No idea if that's necessary, but that's how it's done everywhere else...

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332867 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-18 18:39:14 +00:00
Nikita Popov
396e76d002 Update maximum number of capturing groups
Also remove limit on non-capturing groups, which no longer exists.

Also applies a formatting patch by anonymous.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332866 c90b9560-bf6c-de11-be94-00142212c4b1
2014-02-18 18:15:34 +00:00
Chris Wright
4fe7ad5b9e Refactored disallowed POSIX bracket elements to match PCRE error message, per request on bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331945 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-24 09:35:17 +00:00
Chris Wright
af5404c6f8 Convert duplicated : to =, fixes error in rev. 331924
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331929 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 09:23:43 +00:00
Chris Wright
d14f7bd50a Document difference between PCRE and POSIX character classes. Fixes bug .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331924 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-23 08:40:56 +00:00
Sherif Ramadan
cf9b0b82a5 Fix table rows from revision 331866
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331883 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-20 17:31:39 +00:00
Sherif Ramadan
512279af99 Organize meta-character reference in PCRE into tables to distinguish between those meta-characters used inside and outside of character classes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331866 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-20 06:14:45 +00:00
Nikita Popov
a0efd60818 Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Adam Harvey
da7b5ad7bc Update the \X documentation to reflect the new behaviour in PCRE ≥ 8.32.
Fixes doc bug  (Since PCRE 8.32, \X does not match (?>\PM\pM*)).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331343 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-11 20:27:08 +00:00
Joe Watkins
fa51bf600c add tip for
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331152 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 05:17:59 +00:00
Philip Olson
00a507863e Clarify a bit that \e is deprecated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330943 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-17 04:35:39 +00:00
Philip Olson
0e543d1e22 Added the latest PCRE bumps
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330640 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-25 04:29:38 +00:00
Philip Olson
c05234126b Added the word escaped to help deal with PHP Bug and added a 'See Also' for good measure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330635 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-24 23:17:24 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
fcf6390340 Prefer anonymous function over create_function()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330241 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:25:02 +00:00
Jakub Vrana
f68abbe82c Document callback signatures
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330240 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:24:33 +00:00