changed regex for data attributes