Changes between Initial Version and Version 1 of Ticket #29557, comment 83
- Timestamp:
- 10/01/2014 02:06:37 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29557, comment 83
initial v1 18 18 My code uses better tag logic in the second part of your suggestion to catch comments (all done with strpos()), but it's the same idea. The reverse idea, tags first then shortcodes, also fails tests. 19 19 20 Miqro's patch is ideal for the current tests, with one caveat: the tag regex is executed twice for each match (once in the implicit `preg_split` loop and once in the `foreach` loop). To avoid running the regex twice I have some code that saves data on each part of the split match, but it's ex pensive so far.20 Miqro's patch is ideal for the current tests, with one caveat: the tag regex is executed twice for each match (once in the implicit `preg_split` loop and once in the `foreach` loop). To avoid running the regex twice I have some code that saves data on each part of the split match, but it's execution expensive.