Every regex used in this dataset. All are matched case-insensitively. PROVENANCE This report's own regexes, written for it and not used anywhere else on the site: royal (word-start), royal (whole word), cybersecurity (narrow), security (widened), privacy subset, national security (excluded), title noun, the royal hand-removal list. The site classifier's own regexes, imported from data/classify.py and not retyped, so they match the /beats/ and /journalists/ pages: sports, politics, health, technology, ai, crypto, cybersecurity. ROYAL, word-start (the rule the report uses) \broyal ROYAL, whole word (the scout's rule, printed beside it) \broyal\b CYBERSECURITY, narrow \bcyber ?security\b|\bcyber-security\b SECURITY, widened. One regex per word so a match can name the word that matched. cybersecurity \bcyber ?security\b|\bcyber-security\b cyber (bare) \bcyber\b(?! ?security) hacker \bhackers?\b hacking \bhacking\b infosec \binfosec\b information security \binformation security\b ransomware \bransomware\b malware \bmalware\b data breach \bdata breach(?:es)?\b surveillance \bsurveillance\b privacy \bprivacy\b data protection \bdata protection\b GDPR \bgdpr\b BARE CYBER, the two forms used here \bcyber\b(?! ?security) plain \bcyber\b The lookahead is the one in the lexicon. It keeps a title that spells the word with a space (Cyber Security Specialist) out of the bare-cyber count, because the narrow cybersecurity rule already counts it. Over the job title the lookahead matches 5 rows and the plain form 6; the one row of difference is that title. Both counts are in facts_console.txt. CYBERSECURITY, the site classifier's own beat regex (data/classify.py), printed so the number on /journalists/cybersecurity/ and the number in this report reconcile \b(cyber ?security|cyber|infosec|information security|hacking|ransomware|data breach)\b Over the job title it matches 28 rows worldwide and 2 UK rows, against 23 and 2 for this report's narrow rule. The 5 extra titles are in cybersecurity_reconciliation.csv. NOT in the widened lexicon: national security \bnational security\b It names a defence and intelligence round, not a computer-security round. TITLE NOUN, first match wins in this order correspondent \bcorrespondents?\b editor \beditors?\b reporter \breporters?\b other no match above BEAT LEXICONS, copied from data/classify.py ai \b(a\.?i\.?|artificial intelligence|machine learning|generative ai|llm|chatgpt|openai)\b crypto \b(crypto|cryptocurrency|bitcoin|blockchain|web3|defi|nft)\b cybersecurity \b(cyber ?security|cyber|infosec|information security|hacking|ransomware|data breach)\b technology \b(tech|technology|technolog\w+|software|startups?|gadgets?|consumer tech|silicon valley|semiconductor)\b energy \b(energy|oil|gas|petroleum|renewables?|nuclear|utilities|power sector|solar)\b climate/environment \b(climate|environment\w*|sustainab\w+|conservation|wildlife|biodiversity|emissions|net zero)\b health \b(health\w*|medical|medicine|pharma\w*|hospital|nhs|public health|mental health|biotech)\b science \b(science|scientific|space|astronomy|physics|research corresponden\w+)\b finance/markets \b(financ\w+|markets?|banking|bank|investing|investment|equit\w+|bonds?|hedge fund|private equity|venture capital|fintech|wall street|trading)\b economics \b(econom\w+|inflation|gdp|central bank|federal reserve|macro)\b business \b(business|corporate|companies|retail|commerce|m and a|dealbook|supply chain)\b politics \b(politic\w+|congress|parliament|white house|westminster|capitol hill|election\w*|campaign trail|government|policy|senate|lobbying)\b defence/security \b(defen[sc]e|military|pentagon|army|navy|air force|nato|intelligence services|war corresponden\w+|conflict)\b immigration \b(immigration|migrant\w*|migration|refugee\w*|asylum|border)\b crime/legal \b(crime|criminal|courts?|court\w*|legal|law|justice|police|homicide|trial)\b education \b(education|higher ed|schools? (reporter|editor|corresponden\w+)|education (reporter|editor|corresponden\w+|desk))\b real estate \b(real estate|property|housing|mortgage|rentals?|construction|architecture)\b sports \b(sports?|football|soccer|basketball|nba|nfl|mlb|nhl|cricket|rugby|tennis|golf|olympics?|motorsport|f1|formula one|athletics)\b entertainment \b(entertainment|celebrit\w+|hollywood|films?|movies?|streaming|showbiz|music industry|gaming|video games?)\b culture/arts \b(culture|cultural|arts?|theatre|theater|books?|literary|museum|classical music|dance|opera)\b fashion \b(fashion|style|beauty|luxury|couture|runway)\b food \b(food|restaurants?|dining|culinary|drinks?|wine|chef|recipes?)\b travel \b(travel|tourism|aviation|airlines?|destinations?|hospitality)\b world/foreign \b(world|foreign|global affairs|middle east|latin america|geopolitic\w+|diplomacy|foreign corresponden\w+)\b local \b(local|metro|city hall|county|neighbou?rhood)\b investigative \b(investigative|investigations)\b HAND-REMOVAL LIST for the royal set. A lowercased title containing the string on the left is removed for the reason on the right. royal air force Royal Air Force, an armed service, not the monarchy royal navy Royal Navy, an armed service, not the monarchy royal marine Royal Marines, an armed service, not the monarchy royal opera Royal Opera House, an arts venue royal shakespeare Royal Shakespeare Company, a theatre company royal ballet a ballet company royal college a Royal College, a professional body royal society a Royal Society, a learned society royal academy a Royal Academy, a learned or arts body royal conservatoire a conservatoire, a music school royal television society the Royal Television Society, an awards body royal caribbean Royal Caribbean, a cruise line royal botanic a botanic garden royal courts of justice a court building, a law round not a royal one royal literary fund a writers' charity royal meteorological the Royal Meteorological Society, a learned society royal geograph the Royal Geographical Society, a learned society mount royal Mount Royal, a place name (Montreal) kansas city royals a baseball team royals live host an in-game host at a regional sports broadcaster (FanDuel Sports Network), not a monarchy round The list is applied the same way to titles and to the headline-inclusive blob, so a learned society is removed wherever it appears: the Royal Society, the Royal Society of Arts, the Royal Meteorological Society and the Royal Geographical Society are all removals for the same reason.