onecrayon / tea-for-espresso

An Espresso Sugar containing Textmate-style Text Editor Actions
http://onecrayon.com/tea/
58 stars 3 forks source link

Word grabbing regex messes up with PHP closing delimiters #42

Closed onecrayon closed 15 years ago

onecrayon commented 15 years ago

Given this code:

<?php //stuff ?>p

Running Expand Abbreviation incorrectly harvests the > in the closing delimiter for PHP. Probably a problem for similar languages like ASP, too. Need to add logic to exclude that for both HTML tags and closing delimiters.

onecrayon commented 15 years ago

Expanded regex logic for detecting when a greater than symbol is already in use when parsing for a word; closed by ca8c71594978f6771c37a735222e0197c02cbd07