Search found 6 matches

by eetnev
Thu Dec 28, 2017 1:23 am
Forum: Compiler / Linking / IDE Related
Topic: wxsqlite3-3.5.8 linux problem
Replies: 3
Views: 1052

Re: wxsqlite3-3.5.8 linux problem

If the wxsqlite3 instructions demand a particular wxWidgets configuration, create that. If not, I suggest you try what it seems to be looking for: ./configure --disable-shared BTW, using enable-monolithic is almost always wrong in Linux. Okay, so I builded wxWidgets with your instructions for a fre...
by eetnev
Wed Dec 27, 2017 9:17 pm
Forum: Compiler / Linking / IDE Related
Topic: wxsqlite3-3.5.8 linux problem
Replies: 3
Views: 1052

wxsqlite3-3.5.8 linux problem

Hi, I have installed wxWidgets-3.0.3 on Ubuntu 16.04.2 LTS and have run minimal sample with success. Now I'm trying to get wxsqlite3-3.5.8 working but I'm almost clueless how to do this. I followed instructions in readme.md (see attachment) but could not get wxsqlite minimal sample running. There's ...
by eetnev
Mon Dec 18, 2017 11:31 pm
Forum: C++ Development
Topic: wxRegEx ([\\s\\S]*) problem
Replies: 10
Views: 2433

Re: wxRegEx ([\\s\\S]*) problem

Maybe OP needs to show his code, because the following worked for me: wxRegEx rx("<tag>(.*?)</tag>", wxRE_ADVANCED); if (rx.IsValid()) { wxString text = wxT("jldjalkjs dlas jdl<tag>\n.\n.\n.\n</tag> lakdjals kj lskdlka sdlas"); if (rx.Matches(text)) { wxLogMessage("match: %...
by eetnev
Sun Dec 17, 2017 11:34 pm
Forum: C++ Development
Topic: wxRegEx ([\\s\\S]*) problem
Replies: 10
Views: 2433

Re: wxRegEx ([\\s\\S]*) problem

I need to match everything between <tag>...</tag> including whitespace. In that case i would use: "<tag>(.*?)</tag>" The '?' makes the match "non-greedy", so if you have multiple <tag></tag> it won't match everything between the first <tag> and the last </tag> Thanks, that's a g...
by eetnev
Sun Dec 17, 2017 10:47 pm
Forum: C++ Development
Topic: wxRegEx ([\\s\\S]*) problem
Replies: 10
Views: 2433

Re: wxRegEx ([\\s\\S]*) problem

doublemax wrote:This matches all chars that are either space (\s) or not space (\S). Which means it matches everything.
Exactly. I need to match everything between <tag>...</tag> including whitespace. I recall using this pattern successfully in Java.
by eetnev
Sun Dec 17, 2017 9:50 pm
Forum: C++ Development
Topic: wxRegEx ([\\s\\S]*) problem
Replies: 10
Views: 2433

wxRegEx ([\\s\\S]*) problem

Hi, I need to match following with wxRegEx: <tag> . . . </tag> Normally I'd use "<tag>([\\s\\S]*)</tag>" but manual states that \\S is illegal inside brackets (not sure if C++ related or just wxWidgets). Content between the tags can be anything. Can someone figure out an alternative?