def findEmail()

in app/redact/TextFinder.scala [28:32]


  def findEmail(document: PDDocument): List[FoundText] = {
    val textFinder = new RegexFinder("""([a-zA-Z0-9\.!#$%&'*+/=?^_`{|}~-]+)@([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)""".r)
    textFinder.getText(document)
    textFinder.locations.result()
  }