Author Topic: Odd regex behavior in SE22.0.0.9  (Read 1255 times)

Liberty

  • Community Member
  • Posts: 11
  • Hero Points: 0
Odd regex behavior in SE22.0.0.9
« on: November 12, 2017, 09:50:00 pm »
I use the regex
Code: [Select]
(\{[^{}]+\}\,[ ]{0,1}){4,4}to search in
Code: [Select]
{ 0, 1, 2}, {1, 1, 2}, { 2,1,2}, {3,1,2}, using the mini search window.

It finds 3 matches,
Code: [Select]
{ 0, 1, 2}, {1, 1, 2}, { 2,1,2}, {3,1,2},
Code: [Select]
{1, 1, 2}, { 2,1,2}, {3,1,2}, and
Code: [Select]
{ 2,1,2},

The last two are wrong, as the pattern calls for 4 braces

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5645
  • Hero Points: 454
Re: Odd regex behavior in SE22.0.0.9
« Reply #1 on: November 13, 2017, 04:08:30 pm »
Hmm...It does look like something is wrong. We will check into this.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5645
  • Hero Points: 454
Re: Odd regex behavior in SE22.0.0.9
« Reply #2 on: November 14, 2017, 09:02:15 pm »
What OS are you using?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5645
  • Hero Points: 454
Re: Odd regex behavior in SE22.0.0.9
« Reply #3 on: November 15, 2017, 04:19:06 pm »
One of these will fix this:

For 64-bit windows version do this:

* Backup your vsapi.dll
* Replace it with this:
    http://support.slickedit.com/Outbound/2200/vsapi_22000009.dll

For 64-bit Linux version do this:

* Backup your vs_exe
* Replace it with this:
    http://support.slickedit.com/Outbound/2200/vs_exe_22000009_linux64.bin

For Mac version do this:

* Backup SlickEditPro2017 installation. A simple rename will do this trick.
* Download and install this:
    http://support.slickedit.com/Outbound/2200/se_22000009_mac_2017_11_15.dmg