modules/string/_helpers/main library
Constants
- templateCounter → const int
- Used to make template sourceURLs easier to identify.
Properties
- deburredLetters → Map
-
Used to map Latin Unicode letters to basic Latin letters.
final
-
htmlEscapes
→ Map<
String, String> -
Used to map characters to HTML entities.
final
-
htmlUnescapes
→ Map<
String, String> -
Used to map HTML entities to characters.
final
- reApos → RegExp
-
Used to match apostrophes.
final
- reAsciiWord → RegExp
-
Used to match words composed of alphanumeric characters.
final
- reComboHalfMarksRange → String
-
Used to compose unicode character classes.
final
- reComboMark → RegExp
-
Used to match combining diacritical marks and
combining diacritical marks for symbols.
final
- reEmptyStringLeading → RegExp
-
Used to match empty string literals in compiled template source.
final
- reEmptyStringMiddle → RegExp
-
Used to match empty string literals in compiled template source.
final
- reEmptyStringTrailing → RegExp
-
Used to match empty string literals in compiled template source.
final
- reEscape → RegExp
-
Used to match template delimiters.
final
- reEscapeChar → RegExp
-
Used to match backslashes in property paths.
final
- reEscapedHtml → RegExp
-
Used to match HTML entities and HTML characters.
final
- reEsTemplate → RegExp
-
Used to match
final
- reEvaluate → RegExp
-
Used to match template delimiters.
final
- reFlags → RegExp
-
Used to match
RegExp
flags from their coerced string values.final - reHasEscapedHtml → RegExp
-
Used to match HTML entities and HTML characters.
final
- reHasRegExpChar → RegExp
-
Used to match
RegExp
final - reHasUnescapedHtml → RegExp
-
Used to match HTML entities and HTML characters.
final
- reHasUnicode → RegExp
-
Used to detect strings with zero-width joiners or code points from the astral planes.
final
- reHasUnicodeWord → RegExp
-
Used to detect strings that need a more robust regexp to match words.
final
- reInterpolate → RegExp
-
Used to match template delimiters.
final
- reIsBadHex → RegExp
-
Used to detect bad signed hexadecimal string values.
final
- reIsBinary → RegExp
-
Used to detect binary string values.
final
- reIsDeepProp → RegExp
-
Used to match property names within property paths.
final
- reIsHostCtor → RegExp
-
Used to detect host constructors (Safari).
final
- reIsOctal → RegExp
-
Used to detect octal string values.
final
- reIsPlainProp → RegExp
-
Used to match property names within property paths.
final
- reIsUint → RegExp
-
Used to detect unsigned integer values.
final
- reLatin → RegExp
-
Used to match Latin Unicode letters (excluding mathematical operators).
final
- reNoMatch → RegExp
-
Used to ensure capturing order of template delimiters.
final
- reOptMod → String
-
Used to compose unicode regexes.
final
- rePropName → RegExp
-
Used to match property names within property paths.
final
- reRegExpChar → RegExp
-
Used to match
RegExp
final - reSplitDetails → RegExp
-
Used to match wrap detail comments.
final
- reTrim → RegExp
-
Used to match leading and trailing whitespace.
final
- reTrimEnd → RegExp
-
Used to match leading and trailing whitespace.
final
- reTrimStart → RegExp
-
Used to match leading and trailing whitespace.
final
- reUnescapedHtml → RegExp
-
Used to match HTML entities and HTML characters.
final
- reUnescapedString → RegExp
-
Used to match unescaped characters in compiled string literals.
final
- reUnicode → RegExp
-
Used to match string symbols.
final
- reUnicodeWord → RegExp
-
Used to match complex or compound words.
final
- reWrapComment → RegExp
-
Used to match wrap detail comments.
final
- reWrapDetails → RegExp
-
Used to match wrap detail comments.
final
- rsApos → String
-
Used to compose unicode capture groups.
final
- rsAstral → String
-
Used to compose unicode capture groups.
final
- rsAstralRange → String
-
Used to compose unicode character classes.
final
- rsBreak → String
-
Used to compose unicode capture groups.
final
- rsBreakRange → String
-
Used to compose unicode character classes.
final
- rsCombo → String
-
Used to compose unicode capture groups.
final
- rsComboMarksRange → String
-
Used to compose unicode character classes.
final
- rsComboRange → String
-
Used to compose unicode character classes.
final
- rsComboSymbolsRange → String
-
Used to compose unicode character classes.
final
- rsDigits → String
-
Used to compose unicode capture groups.
final
- rsDingbat → String
-
Used to compose unicode capture groups.
final
- rsDingbatRange → String
-
Used to compose unicode character classes.
final
- rsEmoji → String
-
Used to compose unicode regexes.
final
- rsFitz → String
-
Used to compose unicode capture groups.
final
- rsLower → String
-
Used to compose unicode capture groups.
final
- rsLowerRange → String
-
Used to compose unicode character classes.
final
- rsMathOpRange → String
-
Used to compose unicode character classes.
final
- rsMisc → String
-
Used to compose unicode capture groups.
final
- rsMiscLower → String
-
Used to compose unicode regexes.
final
- rsMiscUpper → String
-
Used to compose unicode regexes.
final
- rsModifier → String
-
Used to compose unicode capture groups.
final
- rsNonAstral → String
-
Used to compose unicode capture groups.
final
- rsNonCharRange → String
-
Used to compose unicode character classes.
final
- rsOptContrLower → String
-
Used to compose unicode regexes.
final
- rsOptContrUpper → String
-
Used to compose unicode regexes.
final
- rsOptJoin → String
-
Used to compose unicode regexes.
final
- rsOptVar → String
-
Used to compose unicode regexes.
final
- rsOrdLower → String
-
Used to compose unicode regexes.
final
- rsOrdUpper → String
-
Used to compose unicode regexes.
final
- rsPunctuationRange → String
-
Used to compose unicode character classes.
final
- rsRegional → String
-
Used to compose unicode capture groups.
final
- rsSeq → String
-
Used to compose unicode regexes.
final
- rsSpaceRange → String
-
Used to compose unicode character classes.
final
- rsSurrPair → String
-
Used to compose unicode capture groups.
final
- rsSymbol → String
-
Used to compose unicode regexes.
final
- rsUpper → String
-
Used to compose unicode capture groups.
final
- rsUpperRange → String
-
Used to compose unicode character classes.
final
- rsVarRange → String
-
Used to compose unicode character classes.
final
- rsZWJ → String
-
Used to compose unicode capture groups.
final
-
stringEscapes
→ Map<
String, String> -
Used to escape characters for inclusion in compiled string literals.
final
Functions
-
arrayReduce(
List array, Function iteratee, String accumulator, [bool initAccumulator = false]) → String -
asciiToArray(
String string) → List< String> -
asciiWords(
String string) → List< String> -
baseSlice(
List array, int start, int end) → List -
castSlice(
List array, [int start = -1, int? end]) → List -
createCaseFirst(
String methodName) → Function -
createCompounder(
Function callback) → Function -
hasUnicode(
String string) → bool -
hasUnicodeWord(
String string) → bool -
stringToArray(
String string) → List< String> -
unicodeToArray(
String string) → List< String> -
unicodeWords(
String string) → List< String>