Function RegEx.search

Searches the text for the compiled pattern. Returns a RegExMatch container of the first matching result if found, otherwise null. The region to search within can be specified without modifying where the start and end anchor would be.

godot.d.reference.Ref!(godot.regexmatch.RegExMatch) search (
  const(String) subject,
  const(long) offset = 0L,
  const(long) end = -1L
) nothrow @nogc const;