Feature Idea: Consider only highlighted text (if any) as regex

Oct 13, 2012 at 12:42 AM

It would be quite useful if only a highlighted portion of the pattern text was considered as the regex pattern and the execute function would only use the highlighted segment.  I realize that one can leave the highlighted portion and delete the rest of the pattern, press execute, then hit the undo button.  But being able to quickly run a highlighted segment of a complicated pattern  would be very helpful.  Another idea would be to have a list of patterns with execute running against the selected list item (or if a portion is highlighted, against that portion).