Improve regular expressions when matching attributes
|Reported by:||kovshenin||Owned by:|
When working with HTML attributes in various functions we use something like [\'"](.+?)[\'"] to match the attribute value. Although not used much in attribute values, such an approach breaks when a single or double quote is intentionally part of the value:
Some of these are new 3.6 functions, mostly around media.
Change History (14)
comment:2 follow-up: ↓ 3 SergeyBiryukov — 10 months ago
- Milestone changed from Awaiting Review to 3.6
- Version set to trunk