Corrected the regexp that detects a feature layer.