• Returns a regular expression matching a global search for a word such as an AGO-style id.

    Parameters

    • word: string

      Word to search for, bounded by regular expression word boundaries (\b)

    Returns RegExp

    Regular expression