
{{alias}}( key, value )
    Revives a JSON-serialized regular expression.

    The serialization format for a regular expression is an object having the
    following fields:

    - type: value type (RegExp).
    - pattern: regular expression pattern.
    - flags: regular expression flags.

    Parameters
    ----------
    key: string
        Key.

    value: any
        Value.

    Returns
    -------
    out: any
        Value or regular expression.

    Examples
    --------
    > var str = '{"type":"RegExp","pattern":"ab+c","flags":""}';
    > var v = {{alias:@stdlib/utils/parse-json}}( str, {{alias}} )
    <RegExp>

    See Also
    --------
