1
0
mirror of https://github.com/apache/httpd.git synced 2025-04-18 22:24:07 +03:00

9 Commits

Author SHA1 Message Date
Yann Ylavic
c8f486d716 Follow up to r1873941: define AP_REG_NO_DEFAULT for raw ap_regcomp() usage.
This avoids having to define AP_REG_NO_* for each APR_REG_* specific option,
thus replacing AP_REG_NO_DOTALL introduced lately.

For ap_rxplus_compile() and mod_substitute where default AP_REG_DOTALL is not
suitable, let's use:
    AP_REG_NO_DEFAULT | ap_regcomp_get_default_cflags() & AP_REG_DOLLAR_ENDONLY
to keep the default AP_REG_DOLLAR_ENDONLY unless RegexDefaultOptions unsets it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874090 13f79535-47bb-0310-9956-ffa450edef68
2020-02-16 23:08:32 +00:00
Eric Covener
b6dd2f55dc don't use DOTALL from mod_substitute which leaves \n at the end of the line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873941 13f79535-47bb-0310-9956-ffa450edef68
2020-02-12 13:36:40 +00:00
Christophe Jaillet
ee9f87c2c2 Use 'apr_pstrmemdup' instead of 'apr_pstrndup' when applicable in order to save a few cycles.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1719018 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 06:52:10 +00:00
Christophe Jaillet
4719522d98 No need to test for NULL, apr_pstrndup already handles it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1559351 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 15:07:38 +00:00
Stefan Fritsch
3742c77564 Remove some useless declarations that were shadowing other local
variables of the same name.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463046 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 20:16:07 +00:00
Jeff Trawick
9fa6b628a5 fix Sun Studio type mismatch warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000589 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 19:21:43 +00:00
Nick Kew
7ce8126f31 Minor MMN bump for ap_rxplus API
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999607 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 20:31:31 +00:00
Nick Kew
6c656ff74a Remove cruft that accidentally got into r999533
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999541 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:52:03 +00:00
Nick Kew
d4963eadb1 Introduce ap_rxplus class: higher-level regexps supporting perl-style
regexp operations.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999533 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:42:20 +00:00