Skip to content

Instantly share code, notes, and snippets.

@musubu
Created May 4, 2012 19:19
Show Gist options
  • Save musubu/2597126 to your computer and use it in GitHub Desktop.
Save musubu/2597126 to your computer and use it in GitHub Desktop.
NII temporal matcher
Pattern pattern = Pattern.compile("^原始時代・旧石器時代|縄文時代・弥生時代|古墳時代・飛鳥時代|奈良時代|平安時代|鎌倉時代・南北朝時代|室町時代|戦国時代|安土桃山時代|江戸時代|幕末・明治維新|明治時代|大正時代|昭和初期~終戦|昭和戦後~現在|原始|古代|中世|近世|近代|現代|5 世紀以前|6 世紀|7 世紀|8 世紀|9 世紀|10 世紀|11 世紀|12 世紀|13 世紀|14 世紀|15 世紀|16 世紀|17 世紀|18 世紀|19 世紀|20 世紀|21 世紀$");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment