You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,16 @@ composer/pcre
3
3
4
4
PCRE wrapping library that offers type-safe `preg_*` replacements.
5
5
6
-
This library gives you a way to ensure `preg_*` functions do not fail silently, returning unexpected `null`s that may not be handled.
6
+
This library gives you a way to ensure `preg_*` functions do not fail silently, returning
7
+
unexpected `null`s that may not be handled.
7
8
8
-
It also makes it easier ot work with static analysis tools like PHPStan or Psalm as it simplifies and reduces the possible return values from all the `preg_*` functions which are quite packed with edge cases.
9
+
It also makes it easier ot work with static analysis tools like PHPStan or Psalm as it
10
+
simplifies and reduces the possible return values from all the `preg_*` functions which
11
+
are quite packed with edge cases.
12
+
13
+
This library is a thin wrapper around `preg_*` functions with [some limitations](#restrictions-limitations).
14
+
If you are looking for a richer API to handle regular expressions have a look at
0 commit comments