String Functions

absstrlen after afterw ascii before beforew center chngw chr common copattern count decode diff encode filter findw fromw getmatches getrmatches index insertw isalpha isdigit isnum isnumber left leftpc leftw match mid midw msar notw numsort numwords pad pass pattern pop push regcomp regerror regexec [regfree] remw remws repeat rest restw reverse revw rfilter right rightw rindex rmatch rot13 rpattern rstrstr rword sar shift sort splice split strip strlen strstr tolower toupper tow tr translate uniq unshift word

Liam's BitchX Command Reference

BitchX scripting function $regfree()

regfree
Function
$regfree()
Usage
$regfree(compiledstring)
Returns
Use this when you have finished with a regular expression. If you don't do this, your BitchX process will grow (possibly by a few kilobytes) each time you compile a pattern, and will never shrink, so you can run out of memory and crash.


previous: regexec next: regfree