Class Index | File Index

Classes


Namespace atropa.regex


Version 20120909.
Container for regex functions.
Defined in: <node_modules/atropa-regex/src/atropa-regex.js>.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Container for regex functions.
Method Summary
Method Attributes Method Name and Description
<static>  
atropa.regex.appendPrefixesAndSuffixes(word, threshold)
Appends common prefix, suffix, and word boundary regex strings to the supplied word.
Namespace Detail
atropa.regex
Container for regex functions.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Method Detail
<static> {String} atropa.regex.appendPrefixesAndSuffixes(word, threshold)
Appends common prefix, suffix, and word boundary regex strings to the supplied word.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Parameters:
{String} word
The word to append prefix and suffix to
{Integer} threshold
The word.length at which it does not make sense to append prefix and suffix. Defaults to 3.
Returns:
{String} Returns the supplied word with prefix, suffix, and word boundaries attached. If the word.length was not greater than the threshold, only word boundaries are attached. The string represents a RegEx which should pick out most forms of regular words.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Nov 17 2022 14:29:55 GMT-0500 (Eastern Standard Time)