Test, validate and match regular expressions
This regex matches lines starting with the keyword 'Global ' (with a trailing space), capturing any leading whitespace in the first group. With the multiline flag, it operates on each line independently. It's typically used for refactoring source code to replace 'Global' declarations with 'public static' while preserving the original indentation.