Wordpress/tests/phpunit/data/formatting
Scott Taylor 5a24a0a4f8 Shortcodes/Formatting: Add PCRE Performance Testing
* Move pattern from `wptexturize()` into a separate function.
* Move pattern from `wp_html_split()` into a separate function.
* Beautify code for `wp_html_split()`.
* Remove unnecessary instances of `/s` modifier in patterns that don't use dots.
* Add `tests/phpunit/data/formatting/whole-posts.php` for testing larger strings.
* Add function `benchmark_pcre_backtracking()`.
* Add tests for `wp_html_split()`.
* Add tests for `wptexturize()`.
* Add tests for `get_shortcode_regex()`.

Props miqrogroove.
Fixes #34121.


git-svn-id: https://develop.svn.wordpress.org/trunk@34761 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-02 04:25:40 +00:00
..
utf-8 Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji. 2015-03-11 22:54:49 +00:00
big5.txt Repair the `seems_utf8()` tests that use Big5 encoding. 2014-11-22 20:56:23 +00:00
cr-line-endings-file-header.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
entities.txt Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
remove_accents.01.input.txt Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
sizzle.js Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
whole-posts.php Shortcodes/Formatting: Add PCRE Performance Testing 2015-10-02 04:25:40 +00:00
windows1252.py Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
xssAttacks.xml Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00