When I use regular expressions in helm occur for narrowing, it does not show line previews

enter image description here

Is this normal functioning? If so, are there any workarounds?


I found out that the error only occurs when I use white characters in a set.

  • 2
    Most likely a bug, getting the same for M-x helm-do-grep and a pattern including \( (which is pretty useful when searching Lisp code). Please open a ticket. – wasamasa Feb 22 '16 at 21:54
  • Thank you @wasamasa I wrote an issue to Helm's github. I assume this is the same thing like open a ticket. – atevm Feb 23 '16 at 13:20

Thanks to thierryvolpiatto from Helm's github, I learnt the answer. Helm interprets spaces as search pattern separators so they should be escaped with backslashes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.