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.

struct RegEx
@nogc nothrow const
search
(
in String subject
,
in long offset = 0
,
in long end = -1
)

Meta