functionList.xml parser classRange for "UniVerse BASIC" (VBScript)

  • Hello!

    Trying to build a class parser for VBScript looking like:

    Class test1    
        Private Sub Class_Initialize()
        end Sub
    End Class

    I got one:

    				mainExpr    ="(?mix)                                             
    					<nameExpr expr="(?mix)^\bclass\s+\w+" />  						 			
    						<funcnameExpr expr="(?i)((set|get)\s+)?\w+\s*\(" />	
    						<funcnameExpr expr="(?i)((set|get)\s+)?\w+\s*" />

    But it’s not working. What’s wrong?

    I tested it in regular expressions online and it works in parts.