Skip to content

Instantly share code, notes, and snippets.

@arun-gupta
Created March 29, 2014 08:27
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 arun-gupta/9850720 to your computer and use it in GitHub Desktop.
Save arun-gupta/9850720 to your computer and use it in GitHub Desktop.
Regular expression constraint
[Book.java]$ constraint-add --onProperty isbn --constraint Pattern --regexp ^\d{9}[\d|X]$
***ERROR*** org.eclipse.jdt.core.dom.MarkerAnnotation cannot be cast to org.eclipse.jdt.core.dom.NormalAnnotation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment