We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76326e2 commit bfaaab4Copy full SHA for bfaaab4
src/Helper/RegexParser.php
@@ -4,6 +4,12 @@
4
5
class RegexParser
6
{
7
+ /**
8
+ * Parses a string and returns the string left from and inside the parenthesis: left(inside)
9
+ *
10
+ * @param string $string
11
+ * @return array
12
+ */
13
public static function parseParenthesis(string $string): array
14
15
if (str_contains($string, '(') && str_contains($string, ')')) {
0 commit comments