Skip to content

Instantly share code, notes, and snippets.

@noniq
Created August 21, 2014 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noniq/06599767a2e6e99409cb to your computer and use it in GitHub Desktop.
Save noniq/06599767a2e6e99409cb to your computer and use it in GitHub Desktop.
Oh Austria, you really love your titles, don’t you?
TITLE_GENDER_SUFFIX_REGEXP = %r{
(?<= Mag\. ) (a) |
(?<= ADir\. | Dipl\.-Ing\. | Dipl\.-Päd\. | Dr\. | FInsp\. | FOInsp\. | Ing\. | OKontr\. ) (in) |
(?<= AL | AR | HR | IR | MinR | OR | OStR | RL | RgR | SektChef) (in)
}x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment