use standard regex syntax (per rubocop)

Change-Id: I11aac074a4b63a5f61c283e758adc06faae95dbe