I've below code
(add-to-list 'compilation-error-regexp-alist 'kbd)
(add-to-list 'compilation-error-regexp-alist-alist
'(kbd "^kmonad: Parse error at \\([0-9]+\\):\\([0-9]+\\):" 2 3))
And I want to parse
kmonad: Parse error at 36:1:
|
36 | jdfkj
| ^
But it doesn't match correctly in compilation buffer, I can't go to the line and column of the error, instead it points to first column of first line, and matches first regexp block as line number.
But regexp is correct