I can’t seem to get a handle on what this expression intends to extract:
preg_match("/^(?:[\s\*]*?@([^\*\/]+?)\s(.+))/",$line,$match);
$line is a line from a text file while $match is an array
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s an explanation:
An example string that the regex would match is this:
* * *@abc asdEdit:
I’ve released a beta version of the parser that was used to generate the explanation above. It can be downloaded here: http://big-o.nl/apps/pcreparser/pcre/PCREParser.html