UNPKG

@alexaegis/advent-of-code-lib

Version:
15 lines (14 loc) 243 B
const NUM = /([+-])?\d+/gi; const INUM = /([+-])\d+/gi; const UNUM = /\d+/gi; const NEWLINE = /\r?\n/; const WHITESPACE = /\s+/; const DOUBLE_NEWLINE = /\r?\n\r?\n/; export { DOUBLE_NEWLINE, INUM, NEWLINE, NUM, UNUM, WHITESPACE };