is_valid_regex: Helper function to determine whether the provided regex is...

View source: R/debugger_utils.R

is_valid_regexR Documentation

Helper function to determine whether the provided regex is valid.

Description

Helper function to determine whether the provided regex is valid.

Usage

is_valid_regex(regex)

Arguments

regex

(str): The user provided regex.

Value

bool: Indicates whether the provided regex was valid or not.


DyfanJones/sagemaker-r-common documentation built on June 14, 2022, 10:31 p.m.