preg_match_all("#(?<!:)//(.*)|/\*(\s|.)*?\*/#", $file, $str, PREG_OFFSET_CAPTURE);
Created
April 11, 2019 07:38
-
-
Save aiwhj/f9caf9dc1d5e8051be67717bee2bf748 to your computer and use it in GitHub Desktop.
php 匹配注释
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment