I am trying to have an inbetween step for deleting words backwards, which should stop at a capital letter (in the case of camelCase).
For this I thought to use the following to obtain the position of the first capital letter backwards:
(search-backward-regexp "[:upper:]")
If you'd run this when point is after that last parenthesis, it will go here:
(search-backward-regexp "[:upper | :]")
, that is, after the r
.
How so?