Selecting the matching regex at point, greedily, in emacs

1 · Shane Mulligan · Nov. 11, 2020, 11 a.m.
Synopsis It’s quite frustrating, really, that there is no builtin command for this. However useful er/expand-region may be at selecting a semantic region monotonically increasingly beneath the cursor, it makes more sense to have a function of my own design that decides what is important beneath the cursor and to use that as the specification for what I want to select. Enter my-select-regex-at-point. I am using this as I speak to select the function my-select-regex-at-point as I enter it into my ...