From the PCRE docs: The escape sequence \K causes any previously matched characters not to be included in the final matched sequence. For example, the pattern: foo\Kbar matches "foobar", but reports that it has matched "bar". http://www.pcre.org/pcre.txt This fails in The Regex Coach. Why? Thanks