Update copyrights.
Tabs to spaces.
Use GLib regex implementation.