HomePhorge

(PUP-2663) Adjust regexp to only match complete string, and not \n
a6ffe4fabaccUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2663) Adjust regexp to only match complete string, and not \n

\s includes newline when ^$ is used.
^$ skips leading and trailing optional matches
\A\z does not skip as they force matching of strings start/end

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUa7b1f2e1c5d8: (maint) Remove redundant code
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUa6ffe4fabacc: (PUP-2663) Adjust regexp to only match complete string, and not \n (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Jun 24 2014, 12:10 AM