How to retrieve text from the current line at specified cursor position before and after up to specified boundary characters?
Examples of boundary characters can be: ""
, ''
, ()
, space
, ^$
(start and end of the line if any other boundary characters are not specified explicitly). Boundary characters should be easily configurable.