Rex Ng·Follow1 min read·Oct 11, 2018--ListenShareMay I also suggest revisiting the regex match and consider using capture groups instead calling `.match` twice? Regex matches are usually expensive in every programming language and you would want to avoid as many calls as possible.