Hi, I am using Find / Replace to remove the word 'function' from comments in some code I am working on (it causes the next word to appear as a function in CodeBrowser when editing PHP code).<div><br></div><div>I am using this Regex:</div>
<div><br></div><div>/(?<=\*)([\w\s]*?) function/</div><div><br></div><div>I am attempting to match 'function' on any line after a * and the minimum number of word & space characters.  I added the / / to delimit the regex in this email but am not using those characters in the TextMate dialog.</div>
<div><br></div><div>It seems to match correctly and highlights the characters I would expect, but when I do Replace in Current Selection (shortcut or menu) nothing is replaced.  This is regardless of what I have the in replace field, whether it is a capture reference ($1), any string of characters, or empty.  My hunch says it has something to do with the negative lookbehind but I don't see any way in which I've used it incorrectly so I am stumped.  </div>
<div><br></div><div>Anyone have any suggestions or is this a bug?</div><div><br></div><div>Thanks</div><div>Brandon</div>