| 1 |
# Ampersands / Delimiters |
| 2 |
drum and bass: |
| 3 |
- d(rum)?[ &n/]*b(ass)? |
| 4 |
r&b: |
| 5 |
- r(hythm)?[ &n/]*b(lues)? |
| 6 |
rock and roll: |
| 7 |
- rock[- ‐'&n/]*roll |
| 8 |
|
| 9 |
# Hyphenation |
| 10 |
\1-\2: |
| 11 |
- ([ckj])[- ]*(pop) |
| 12 |
- (j)[- ]*(rock) |
| 13 |
- (post)[- ]*(\w+) |
| 14 |
- (g?lo)[- ]*(fi) |
| 15 |
- ([pg])[- ]*(funk) |
| 16 |
- (synth)[- ]*(pop) |
| 17 |
avant-garde: |
| 18 |
- avant[- ]*(garde?)? |
| 19 |
|
| 20 |
# Adding space |
| 21 |
\1 \2: |
| 22 |
- (nu)[ -]*(disco|jazz|metal|soul) |
| 23 |
- (dark)[ -]*(wave) |
| 24 |
- (blues|folk|indie|gothic|progressive|alternative|punk)[ -]*(rock) |
| 25 |
- (ska)[ -]*(jazz) |
| 26 |
- (synth)[- ]*(funk) |
| 27 |
- (glitch|hip|trip)y?(?:[ -]*hip)?[ -]*(hop) |
| 28 |
|
| 29 |
# Removing delimiters |
| 30 |
\1\2: |
| 31 |
- (synth)[- ]*(wave) |
| 32 |
- (psy)[ -]*(trance) |
| 33 |
- (chill)[ -]*(out) |
| 34 |
|
| 35 |
# Old School spellings: old-school death metal, oldschool hip-hop, old-skool-jungle/-hardcore |
| 36 |
old school death metal: |
| 37 |
- old[ -]*(?:school|skool)[ -]+death[ -]*metal |
| 38 |
old school hip hop: |
| 39 |
- old[ -]*(?:school|skool)[ -]+hip[ -]*hop |
| 40 |
old school \1: |
| 41 |
- old[ -]*(?:school|skool)[ -]+(\w+) |
| 42 |
|
| 43 |
# Terminology / Synonyms |
| 44 |
electronic: |
| 45 |
- electronic music |
| 46 |
world music: |
| 47 |
- world |
| 48 |
downtempo: |
| 49 |
- down[ -]*beat |
| 50 |
shoegaze: |
| 51 |
- shoegaz(e?r?|ing) |
| 52 |
footwork: |
| 53 |
- (chicago )?footwork( music)? |
| 54 |
juke: |
| 55 |
- (chicago )?juke( music| house)? |
| 56 |
|
| 57 |
# Compound genres |
| 58 |
alternative rock: |
| 59 |
- alt[ -]*rock |
| 60 |
# negative lookahead avoids matching 'gothic metal' |
| 61 |
gothic rock: |
| 62 |
- goth(?!ic)([ -]*rock)? |
| 63 |
# avoids matching 'progressive metal' |
| 64 |
progressive rock: |
| 65 |
- prog([ -]*rock)? |
| 66 |
punk rock: |
| 67 |
- punk |
| 68 |
# psy folk, psych-pop, psychedelic-rock, psychedelic soul, but not psychedelic (standalone) |
| 69 |
psychedelic \1: |
| 70 |
- psy(?:ch(?:edelic)?)?[ -]*(folk|pop|rock|soul) |
| 71 |
dixieland: |
| 72 |
- dixieland[ -]*jazz |