Posted 19 years ago
by GavinK151
![Avatar](https://secure.gravatar.com/avatar/a4dfe3553b3a9cf467c2b3c00ebf5309.jpg?s=64&d=identicon&r=g)
hiya!
I have been using the SemanticJScriptParser from the sample c# project for outlining javascript code (works great) However I was interested in being able to turn a script into a collection (arrayList of strings)of functions and have been working with some RegEx to achieve this.
Time is quite tight so I have only done a little investgation but it seems to me the SemanticJScriptParser class might be a better foundation for this than fiddling with RegEx - anyone knnow if its worth investigating?
cheers again :-)
I have been using the SemanticJScriptParser from the sample c# project for outlining javascript code (works great) However I was interested in being able to turn a script into a collection (arrayList of strings)of functions and have been working with some RegEx to achieve this.
Time is quite tight so I have only done a little investgation but it seems to me the SemanticJScriptParser class might be a better foundation for this than fiddling with RegEx - anyone knnow if its worth investigating?
cheers again :-)