Test, validate and match regular expressions
This regex matches the Eclipse reservoir simulation keyword 'SPECGRID' and captures the following grid dimension values (spaces and digits). It's used to extract grid specification data from Eclipse input files, typically containing NX, NY, NZ dimensions for reservoir modeling and simulation projects.