Re: regular expression search for emphasized chars fails

2018-09-16 Thread jungok
Am Sonntag, 16. September 2018, 13:11:46 CEST schrieb Richard Kimberly Heck: > > Attached cures it for me. > > Riki, could you check? I disabled part of your code. > > That seems to have been added by Abdel at c5e56fea. He committed it for > Tommaso, > it seems. I'm totally unfamiliar with this co

Re: regular expression search for emphasized chars fails

2018-09-16 Thread Richard Kimberly Heck
On 09/16/2018 02:47 AM, Kornel Benko wrote: > Am Freitag, 14. September 2018 13:06:46 CEST schrieb Kornel Benko > : >> This is test 'keytest/findadv-re-04' >> >> 1.) Open attached file with 'lyx -dbg key,find test.lyx' >> 2.) goto start of buffer >> 3.) open advanced search >> 4.) in Settings de-s

Re: regular expression search for emphasized chars fails

2018-09-15 Thread Kornel Benko
Am Freitag, 14. September 2018 13:06:46 CEST schrieb Kornel Benko : > This is test 'keytest/findadv-re-04' > > 1.) Open attached file with 'lyx -dbg key,find test.lyx' > 2.) goto start of buffer > 3.) open advanced search > 4.) in Settings de-select 'ignore format' > 5.) select emphasized > 6.) s

regular expression search for emphasized chars fails

2018-09-14 Thread Kornel Benko
This is test 'keytest/findadv-re-04' 1.) Open attached file with 'lyx -dbg key,find test.lyx' 2.) goto start of buffer 3.) open advanced search 4.) in Settings de-select 'ignore format' 5.) select emphasized 6.) select regexp-mode (with Alt-x regexp-mode) 7.) enter [a-z]* 8.) enter 'Return

Re: Regular expression search

2017-03-05 Thread Kornel Benko
Am Samstag, 4. März 2017 um 21:19:31, schrieb Guillaume Munch > Le 27/02/2017 à 22:08, Georg Baum a écrit : > > Guillaume Munch wrote: > > > >> AFAIR, the ECMAScript regexes are a proper subset of PCRE whereas there > >> are incompatibilities between POSIX and PCRE. Moreover ECMAScript is the > >>

Re: Regular expression search

2017-03-04 Thread Guillaume Munch
Le 27/02/2017 à 22:08, Georg Baum a écrit : Guillaume Munch wrote: AFAIR, the ECMAScript regexes are a proper subset of PCRE whereas there are incompatibilities between POSIX and PCRE. Moreover ECMAScript is the default for , so maybe it is better supported across compilers. This makes ECMAScri

Re: Regular expression search

2017-02-27 Thread Georg Baum
Guillaume Munch wrote: > AFAIR, the ECMAScript regexes are a proper subset of PCRE whereas there > are incompatibilities between POSIX and PCRE. Moreover ECMAScript is the > default for , so maybe it is better supported across compilers. > This makes ECMAScript the simplest for a transition. > >

Re: Regular expression search

2017-02-24 Thread Guillaume Munch
Le 24/02/2017 à 20:54, Kornel Benko a écrit : Am Freitag, 24. Februar 2017 um 17:30:39, schrieb Jean-Marc Lasgouttes src/lyxfind.cpp:escape_map.push_back(P("\\", "(?:|backslash)")); src/lyxfind.cpp:escape_map.push_back(P("~", "(?:textasciitilde|s

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Freitag, 24. Februar 2017 um 17:30:39, schrieb Jean-Marc Lasgouttes > Le 24/02/2017 à 17:17, Kornel Benko a écrit : > > Little net-search gives for example: > > http://stackoverflow.com/questions/13526884/inconsistency-between-boostregex-and-stdregex > > http://stackoverflow.com/questions/7589

Re: Regular expression search

2017-02-24 Thread Jean-Marc Lasgouttes
Le 24/02/2017 à 17:17, Kornel Benko a écrit : Little net-search gives for example: http://stackoverflow.com/questions/13526884/inconsistency-between-boostregex-and-stdregex http://stackoverflow.com/questions/7589672/boost-regex-vs-c11-regex http://stackoverflow.com/questions/26696250/difference-b

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Freitag, 24. Februar 2017 um 15:16:48, schrieb Jean-Marc Lasgouttes > Le 24/02/2017 à 11:54, Kornel Benko a écrit : > >> I tried to bisect, but to my surprise could not find the associated commit. > >> The only difference was that for bisecting I used another compiler (gcc > >> 4.8.4), > >> w

Re: Regular expression search

2017-02-24 Thread Jean-Marc Lasgouttes
Le 24/02/2017 à 11:54, Kornel Benko a écrit : I tried to bisect, but to my surprise could not find the associated commit. The only difference was that for bisecting I used another compiler (gcc 4.8.4), while I otherwise use the version 6.1.0. So I rebuild lyx with gcc4.8, the error is gone. Now

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Samstag, 26. November 2016 um 23:26:33, schrieb Scott Kostyshak > On Tue, Sep 27, 2016 at 02:12:49PM +0200, Kornel Benko wrote: > > > What are the differences between gcc5.3, 6.1 and 4.8? > > gcc4.8 Compiler does not support std_regex, flag = "--std=c++11" > > gcc5.3 Compiler suppor

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Freitag, 24. Februar 2017 um 13:23:44, schrieb José Abílio Matos > On Tuesday, September 27, 2016 1:12:49 PM WET Kornel Benko wrote: > > What are the differences between gcc5.3, 6.1 and 4.8? > > gcc4.8 Compiler does not support std_regex, flag = "--std=c++11" > > gcc5.3 Compiler supports std

Re: Regular expression search

2017-02-24 Thread José Abílio Matos
On Tuesday, September 27, 2016 1:12:49 PM WET Kornel Benko wrote: > What are the differences between gcc5.3, 6.1 and 4.8? > gcc4.8 Compiler does not support std_regex, flag = "--std=c++11" > gcc5.3 Compiler supports std_regex, flag = "--std=c++14" > gcc6.1 Compiler supports std_regex, flag = "--

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Ping ... Am Dienstag, 27. September 2016 um 14:12:49, schrieb Kornel Benko > Am Montag, 26. September 2016 um 19:06:58, schrieb Kornel Benko > > > > > The test keytest/findadv-05 shows a new error. > > > > (Repeating commands from the test case) > > 1.) Open new document > > 2.) write 'foo f

Re: Regular expression search

2016-11-26 Thread Scott Kostyshak
On Tue, Sep 27, 2016 at 02:12:49PM +0200, Kornel Benko wrote: > What are the differences between gcc5.3, 6.1 and 4.8? > gcc4.8Compiler does not support std_regex, flag = "--std=c++11" > gcc5.3Compiler supports std_regex, flag = "--std=c++14" > gcc6.1Compiler supports std_re

Re: Regular expression search

2016-09-27 Thread Kornel Benko
Am Montag, 26. September 2016 um 19:06:58, schrieb Kornel Benko > > The test keytest/findadv-05 shows a new error. > > (Repeating commands from the test case) > 1.) Open new document > 2.) write 'foo foo foo foo' > 3.) make the middle 2 foo's be italic > 4.) move cursor to HOME position > 5.) op

Regular expression search

2016-09-26 Thread Kornel Benko
The test keytest/findadv-05 shows a new error. (Repeating commands from the test case) 1.) Open new document 2.) write 'foo foo foo foo' 3.) make the middle 2 foo's be italic 4.) move cursor to HOME position 5.) open the advanced search dialog 6.) go to 'Settings' part of the dialog 7.) uncheck '