Sending updated bug demo, as an attachment this time. If the alternations inside (?| ... ) are swapped, or a 3rd alternation added, the crash does not happen. See comment in the attached