Split a string along ANSI escape sequences.
The string to split
Array of string parts split along ANSI escape sequences
import { split } from './split';split('a\u001b[1mb\u001b[22mc');//=> ['a', 'b', 'c'] Copy
import { split } from './split';split('a\u001b[1mb\u001b[22mc');//=> ['a', 'b', 'c']
Split a string along ANSI escape sequences.