find

  1. sizediff_t find(string s, RegExp pattern)
  2. sizediff_t find(string s, string pattern, string attributes)
    sizediff_t
    find
    (
    string s
    ,
    string pattern
    ,
    string attributes = null
    )

Return Value

Type: sizediff_t

Same as find(s, RegExp(pattern, attributes)).

WARNING:

This function is scheduled for deprecation due to unnecessary ambiguity with the homonym function in std.string. Instead of undead.regexp.find(s, p, a), you may want to use find(s, RegExp(p, a)).

Meta