| Summary: | Problems when writing regular expression during CA template editing | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Sylvia Tancheva <silviya> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | ganoro, kalin.a |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed Verified. Closing... |
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.