Home > front end >  A regular problem solving
A regular problem solving

Time:10-13

To solve the regular mean
+ \ [^ \]. (? : ". $STR. ") | \ w {2} | ((". $STR. "). \ \ w {2}))

CodePudding user response:

I always think you this is punctuated with PHP variables, don't know you what is the regular greed schema definition, I explain the default PHP than greed for

[^ \] +//at least one character. The string, as long as it's not characters., matching as much as they can match
Characters. \.//a
(? : ". $STR. ") | \ w {2} | ((". $STR. "). \ \ w {2}))

(? :... )//not grouped record matching

(". $STR. ") | \ w {2} | ((". $STR. "). \ \ w {2})

|//or
(". $STR. ")//in accordance with the variable content, and on both sides with double quotation marks matching
{2} \ w//match two characters, set a - zA - Z0-9 _
(". $STR. "). \ \ w {2})//in accordance with the variable content, and add double quotation marks at both sides match, need to follow behind a. Character and two a - zA - Z0-9 _ character
  • Related