a valid function looks like this( Yes its c like ):
stock func_name()
{
}
and my rules are:
function begin: \([ \t]*stock[ \t]+
function name: [a-zA-Z0-9_]+
function end: \([a-zA-Z0-9_, \t]+\)
separator: NOTHING SPECIFIED
body begin: {
body end: }
I dont know why, but it doesnt work :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
a valid function looks like this( Yes its c like ):
stock func_name()
{
}
and my rules are:
function begin: \([ \t]*stock[ \t]+
function name: [a-zA-Z0-9_]+
function end: \([a-zA-Z0-9_, \t]+\)
separator: NOTHING SPECIFIED
body begin: {
body end: }
I dont know why, but it doesnt work :(
Are you sure with the "\(" in function begin?
I use for body "\{" and "\}".
The rest looks OK for me.
Best Regards
Jens