Community
Participate
Working Groups
1. Type preg_m| 2. From the CA select preg_match function 3. You get the function template ready to edit preg_match($pattern, $subject) where $pattern is selected. 4. In place of $pattern type '//' 5. Between the 2 slashes type an opening bracket ( and then a closing bracket ) Result: Instead of being after the closing bracket which does not appear your cursor jumps to the end of the line, i.e. instead of preg_match('/()|/', $subject) you get preg_match('/(/', $subject)| <- cursor jumps here and the closing bracket ) is missing. With | is shown the cursor position. Note: It seems that this does not happen during normal typing, but only when editing the CA template.
fixed
Verified. Closing...