1. A computer-implemented method of rendering regular expression side-effect statements to 100% Java™ or C# code, the method comprising the steps of: a. defining a programming language or grammar that produces scripts that compile to Java™ or C# classes and run within the host Java or C# system; b. including among regular expression forms in this grammar a DoPattern as a means to wrap a matching sub-expression (regex) with side-effect producing functional statements that fire before and after the match and whose side-effect statements have access to variables in all outer scopes; and the CapturePattern as a means to capture the match to the wrapped sub-expression (regex) into a variable available in the scope of the regular expression in which it is found; c. compiling the side-effects of the DoPattern (the pre- and post-statement lists) as bodies of Java functions that are accessible as implementations of abstract functions of an abstract DoPattern class that includes abstract prelist ( ) and postlist ( ) functions; d. adding to the abstract prelist and postlist functions of the DoPattern class access to the parameters $rein and $repos so that the CapturePattern can be implemented as a specialized variation of the DoPattern; e. providing a regular expression execution engine capable of calling the java functions that compile the pre-list and post-list statements of the DoPattern at the proper points relative to the data stream being matched, whereby the DoPattern and especially the CapturePattern can properly reference matching points of the stream; f. obtaining hot-spot execution speeds for all of the side-effects of the regular expression (DoPattern statements and CapturePattern data substring to variable capture) as these side-effects are compiled to the implementations of the abstract prelist and postlist Java™ or C# functions; and g. including a translator that compiles this specialized scripting grammar entirely to Java™/C# classes.