Compiled regular expressions yield faster code. It's the maximum number of splits that will occur. You can csplit files based on regex match. For example, in the following code, a regular expression uses two sets of capturing parentheses to extract the elements of a date from a date string. : this pattern searches in a negative feedback loop (?