This regex doesn't match an id. Ids start with a '#'. This just matches css names.