Re: [pmwiki-devel] PHP upgrade error

2021-06-18 Thread Simon
The problem turned out to be in a recipe I wrote. My recipe nztopo.php had line $plabel = 'label=(?:(?:\'[^\']+\')|(?:"[^"]+")|(?:[\w*-*+!?()]+))'; # provide for single and double quoted strings, and unquoted string (no spaces) now changed to $plabel = 'label=(?:(?:\'[^\']+\')|(?:"[^"]+")|

Re: [pmwiki-devel] PHP upgrade error

2021-06-17 Thread Petko Yotov
Oh, this may possibly be a core bug, I'd be very interested in tracking it. There is a regular expression containing minus in a character range like [a-z]. In these cases the minus sign means all characters after "a" (code point 97) and before "z" (code point 122) (like b, c,..., w, x, y). I

Re: [pmwiki-devel] PHP upgrade error

2021-06-16 Thread Simon
PS I just reverted to 7.2 to get website back up On Thu, 17 Jun 2021 at 18:27, Simon wrote: > My ISP has just upgraded PHP > to 7.4I thought I had everything up to date, but I see this error (and not > much of a website ). > PHP Warning: preg_

[pmwiki-devel] PHP upgrade error

2021-06-16 Thread Simon
My ISP has just upgraded PHP to 7.4I thought I had everything up to date, but I see this error (and not much of a website ). PHP Warning: preg_replace_callback(): Compilation failed: invalid range in character class at offset 648 in /home/ttcorgn