Re: [BUG] Null character in block/drawer regexps (but not in org-element parser)

2023-04-25 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> So, we should probably remove zero-width shenanigans from the code. > > +1. Upon further look, it appears to me that [^\000] was simply used to match "anything, including newline" in most places. Fixed, on main.

Re: [BUG] Null character in block/drawer regexps (but not in org-element parser)

2022-11-12 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: > So, we should probably remove zero-width shenanigans from the code. +1. > Unless I miss something. > > Bastien, maybe you recall something about presence of null character in > regexs? No, I don't. > P.S. If we decide to remove the null character, I'd

[BUG] Null character in block/drawer regexps (but not in org-element parser) (was: BUG? Null character prevents org-babel-tangle from tangling a block)

2022-11-12 Thread Ihor Radchenko
Tommy Kelly writes: > The attached .org file describes a simple test to demonstrate the problem. > I've also attached a .zip version, in case the NULL character in the test > doesn't survive the gmailing process. (The null is In BLOCK 2, two > characters after the '3' in ';; line3' If it's