Is there a way make the lex program match multiple line?
Hi community, I am making a config program, use the lex program to analyse input. /* config.l The lex rule file for toysql Wen Yi */ %option noyywrap %{ #include
Re: Is there a way make the lex program match multiple line?
"=?ISO-8859-1?B?V2VuIFlp?=" <896634...@qq.com> writes: > Can someone give me some advice to make the ['].+['] match multiple string? You should check the flex manual, but it's likely that "." doesn't match newline. Another problem with this pattern is that "." *does* match "'", so it's ambiguous what will happen with quotes. You probably need something closer to [']([^']|\n)['] regards, tom lane
Re: Is there a way make the lex program match multiple line?
I rewrite, and I think the [']([^']|\n)['] should be [']([^']|\n)+['] Thanks very much! Yours, Wen Yi. -- Original -- From: "Tom Lane"
deb’s pg_upgradecluster(1) vs streaming replication
[ hmm. i thought i sent this here, not to pgsql-hackers. don't know what happened. resending... ] Has anyone recently tried updating a streaming replication cluster using debian’s pg_upgradecluster(1) on each node? Did things work well? My last attempt (11 to 13, as I recall) had issues and I had to drop and re-install the db on the secondaries. I'd like to avoid that this time... Should I expect things to work easily? -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6