Beginner PHP help needed
问题 I have been learning PHP for some time now and I wanted one clarification. I have seen the preg_match function called with different delimiting symbols like: preg_match('/.../') and preg_match('#...#') Today I also saw % being used. My question is two part: What all characters can be used? And is there a standard ? 回答1: Any non-alphanumeric non-whitespace and non-backslash ASCII character can be used as delimiter. Also if you using the opening punctuation symbols as opening delimiter: ( { [ <