Page 1 of 1

regular expression issue

Posted: Sun Sep 27, 2015 3:31 pm
by winflowers
I just updated to AkelPad from 4.8.7 to 4.9.6 and found some regular expression didn't work anymore.

For example, I would like to delete all lines which do not started with "http". In old version (<4.9.0), I can use expression "^(?!http).*$" to find these contents and replaced them with null. However, begin from version 4.9.0, it can't find the correct lines. I noticed there were some regular expression changes since version 4.9.0. But why this expression is not supported anymore? What can I do to complete such task?

Thank you very much!

Posted: Sun Sep 27, 2015 4:23 pm
by Skif_off
winflowers
Maybe "^(?!http)[^\r\n]*?$"? Read AkelHelp-Eng.htm and AkelHistory-Eng.txt please.

Posted: Mon Sep 28, 2015 11:05 am
by Instructor
^(?!http).*?$

Posted: Wed Oct 07, 2015 10:25 am
by winflowers
Instructor wrote:
^(?!http).*?$
It works!
I found it after reading the help file.
Many thanks to Instructor and Skif_off.