Re: [O] Stackoverflow in regexp matcher

2016-02-03 Thread Loris Bennett
Alan Schmitt writes: > On 2016-02-03 12:34, "Loris Bennett" writes: > >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> "Loris Bennett" writes: >>> re-search-forward("^[^%]*usepackage.*{biblatex}" nil t) >>> >>> This is a pathological regexp. [^%] is anything but a percent sign, so >

Re: [O] Stackoverflow in regexp matcher

2016-02-03 Thread Alan Schmitt
On 2016-02-03 12:34, "Loris Bennett" writes: > Nicolas Goaziou writes: > >> Hello, >> >> "Loris Bennett" writes: >> >>> re-search-forward("^[^%]*usepackage.*{biblatex}" nil t) >> >> This is a pathological regexp. [^%] is anything but a percent sign, so >> it can contain newline characters

Re: [O] Stackoverflow in regexp matcher

2016-02-03 Thread Peter Neilson
On Wed, 03 Feb 2016 06:19:43 -0500, Nicolas Goaziou wrote: "Loris Bennett" writes: re-search-forward("^[^%]*usepackage.*{biblatex}" nil t) This is a pathological regexp. [^%] is anything but a percent sign, so it can contain newline characters. Basically [^%]* can match an entire b

Re: [O] Stackoverflow in regexp matcher

2016-02-03 Thread Loris Bennett
Nicolas Goaziou writes: > Hello, > > "Loris Bennett" writes: > >> re-search-forward("^[^%]*usepackage.*{biblatex}" nil t) > > This is a pathological regexp. [^%] is anything but a percent sign, so > it can contain newline characters. Basically [^%]* can match an entire > buffer if it doesn

Re: [O] Stackoverflow in regexp matcher

2016-02-03 Thread Nicolas Goaziou
Hello, "Loris Bennett" writes: > re-search-forward("^[^%]*usepackage.*{biblatex}" nil t) This is a pathological regexp. [^%] is anything but a percent sign, so it can contain newline characters. Basically [^%]* can match an entire buffer if it doesn't contain any %. I think the regexp us

Re: [O] Stackoverflow in regexp matcher

2016-02-02 Thread Loris Bennett
Hi Nick, Nick Dokos writes: > "Loris Bennett" writes: > >> Hi, >> >> On refreshing the #+TAGS via 'C-c C-c' I'm am getting the following error >> >> Stackoverflow in regexp matcher >> > > Not "Stack overflow in ..."? I searched for Stackoverflow both in the > org-mode directory and the emacs so

Re: [O] Stackoverflow in regexp matcher

2016-02-02 Thread Nick Dokos
"Loris Bennett" writes: > Hi, > > On refreshing the #+TAGS via 'C-c C-c' I'm am getting the following error > > Stackoverflow in regexp matcher > Not "Stack overflow in ..."? I searched for Stackoverflow both in the org-mode directory and the emacs source directory (but I'm not up to date with e