spattern.init
- method spattern spattern.init( buf pattern, uint flag )
- method spattern spattern.init( str pattern, uint flag )
Creating data search pattern. Before search start-up, call this method in order to initialize the search pattern. Then do a search of the specified pattern with spattern.search.
method spattern spattern.init (
buf pattern,
uint flag
)
buf pattern,
uint flag
)
Parameters
pattern | Search string (pattern). | ||||||
flag | Search flags.
|
Return value
Returns the object which method has been called.
spattern.init
Creating data search pattern.
method spattern spattern.init (
str pattern,
uint flag
)
str pattern,
uint flag
)
Parameters
pattern | Search string (pattern). | ||||||
flag | Search flags.
|
Related links | Source |