Note that the array of matches returned by preg_match changes when PREG_OFFSET_CAPTURE is set. That's why the additional [0] (for the match) and [1] (for the offset) are needed. Bug: T203930 Change-Id: I89f9ea3bef49fe9128fd42805695982f012ecba9
As discussed at T189034 Change-Id: I86f36ab55c0e03ba3bbd2ea1ee94ce3056d91e30
Bug: T189067 Change-Id: I0596c575a42754d2b86fd2164e15b5f46b9bca9d
Disabled by default for now. Bug: T32750 Change-Id: I8012b82b6e27cc2612fb2302d0c9feb3f3623d62