Code: Select all
^[ \t]*(extern)\s(?!.*?\bas\b).*?$
... but it does not work in Coder's Code Fold:
Code: Select all
1048576 0 0 0 "^[ \t]*(extern)\s(?!.*?\bas\b).*?$" "end extern" " " 0 0
Code: Select all
'This line is *NOT* caught by the regex in Find or Code Fold -> (good):
extern import _HUGE alias "_HUGE" as double ptr
'This line *IS* caught by Find -> (good) -- but is *NOT* caught by Code Fold -> (bad):
extern "c"
declare function _cabs (byval as _complex) as double
declare function _matherr (byval as _exception ptr) as long
end extern
Thanks!
CBruce