Fixed use of ruby regex syntax in name matching.