#579 Update for perl's mainExpr in functionList.xml (#2)

Next_release
closed
nobody
perl (1)
6
2014-09-14
2014-05-22
James
No

Hello,

This is an update to ticket #564 https://sourceforge.net/p/notepad-plus/patches/564/.

There was a bug in the regex that would cause subroutines that did not include parenthesis within the function to be potentially omit the next subroutine from the function list.

Please consider changing the regex to:

<function mainExpr="^[\s]*(?<!#)[\s]*sub[\s]+[\w]+[\s]*\(?[^\)\(]*?\)?[\n\s]*\{" displayMode="$className->$functionName">

Discussion

  • Don HO
    Don HO
    2014-08-15

    • status: open --> accepted
    • Priority: 5 --> 6
     
  • Don HO
    Don HO
    2014-09-14

    • Status: accepted --> closed