Add optional starting whitespace to end command pattern
Merged compile_files and compile_strings into compile