This feature is activated by the configuration property iscobol.compiler.regexp. If the property is not set, then no preprocessing is performed. If the property is set, then the source code is preprocessed at compile time.The property iscobol.compiler.regexp can be set to one or more pairs of strings enclosed between double quotes, in the format:
The first string of each pair is a match string and must respect Java specifications (http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html ).Note: The backslash character (\), if used, must be doubled due to the property file format.Regular expressions are resolved sequentially in the order they appear in the iscobol.compiler.regexp value for every line of code. More than one replacement might be performed on the same line; for example, having the following setting:
Note - Replacements affect all the text in the source code, including string literals.Example - The following regexp replaces STOP RUN by GOBACK without case sensivity and regardless of how many spaces are between STOP and RUN.
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |