Hi,
there are no special language elements for this. Howver, there are many other ways to do this (efficiently). You could for example create an annotation on the last part of the document with MARKLAST and then use that nnoation as a starting anchor "@" in an additional rule. Best, Peter Am 26.07.2019 um 11:54 schrieb B. Li: > Hi All, > > > I would like to match patterns back from the end of an input string, which > may not end at SENTENCEEND. I am wondering whether there are some special > tokens like "^" and "$" in normal regular expression in RUTA. > > > Thanks in advance, > > > Baoli -- Dr. Peter Klügl R&D Text Mining/Machine Learning Averbis GmbH Salzstr. 15 79098 Freiburg Germany Fon: +49 761 708 394 0 Fax: +49 761 708 394 10 Email: peter.klu...@averbis.com Web: https://averbis.com Headquarters: Freiburg im Breisgau Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó