2022.2

Table Of Contents
data.findRegExp("\\d{3}-[A-Z]{3}","gi",50,100);}}
Bothexpressionswouldmatchthefollowingstrings:001-ABC,678-xYz.
Notehowinthesecondversion,wheretheregularexpressionisspecifiedasastring,somecharacters
havetobeescapedwithanadditionalbackslash,whichisstandardinJavaScript.
db
Objectthatallowstoconnecttoadatabase.
Methods
Thefollowingtabledescribesthemethodsofthedbobject.
Method Description Available in File
type
"connect()"below Methodthatreturnsanewdatabasecon-
nectionobject.
Boundaries
Preprocessor,Extract,Condition,Repeat,Action,andPost-
processorsteps
all
connect()
Methodthatreturnsanewdatabaseconnectionobject.
connect(url, user, password)
ThismethodreturnsanewdatabaseConnectionobjectafterconnectingtothegivenURLandauthen-
ticatingtheconnectionwiththeprovideduserandpasswordinformation.
Thefunctionacceptsargumentsasdescribedhere:https://-
docs.oracle.com/javase/8/docs/api/java/sql/DriverManager.html#getConnection-java.lang.String-
java.lang.String-java.lang.String-.
InthereturnedConnectionobjectnormallyanypublicmethodshouldbeavailable.ThereturnedCon-
nectionobjectisdescribedhere:https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html.
Note: MakesuretocloseanyConnectionobjectcreatedbyconnect()andanyotherclosable
resourcescreatedfromtheConnectioninstance(ResultSet,etc.).
url
Stringthatrepresentsadatabaseurloftheformjdbc:subprotocol:subname,e.g.'jdb-
c:mysql://localhost:3306/mycompany'.
Page 389