On Fri, Aug 22, 2014 at 6:01 PM, Thorsten Jolitz <[email protected]> wrote: > isn't the whole idea based on the fact that NUL chars should not appear > ever in non-binary files (ok, I just proved the contrary with my regexps
Yeah, exactly. They shouldn't but they might anyway. > #+BEGIN_SRC emacs-lisp > (string-match "\\(\\(:?.\\|\n\\)+?\\)\\(world\\)" "hello \nworld") > (match-string 2 "hello \nworld") > #+END_SRC You have the ":?" flipped around, it should be "?:". -- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
