(?=foo) Lookahead Asserts that what immediately follows the current position in the string is foo
(?<=foo) Lookbehind Asserts that what immediately precedes the current position in the string is foo
(?!foo) Negative Lookahead Asserts that what immediately follows the current position in the string is not foo
(?<!foo) Negative Lookbehind Asserts that what immediately precedes the current position in the string is not foo
F. Fancellu, A. Lopez, B. Webber, and H. He. Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, page 58--63. Association for Computational Linguistics, (2017)
J. Baget, and J. Fortin. Proceedings of the 18th International Conference on Conceptual Structures (ICCS 2010), volume 6208 of Lecture Notes in Computer Science, page 42-55. Springer, (2010)
W. Drabent. Proceedings of the second international workshop on Logic programming and non-monotonic reasoning, page 82--98. Cambridge, MA, USA, MIT Press, (1993)
M. Leclère, and M. Mugnier. Proceedings of the 16th International Conference on Conceptual Structures (ICCS 2008), volume 5113 of Lecture Notes in Computer Science, page 119-132. Springer, (2008)
D. Tishkovsky, and R. Schmidt. Proceedings of the 6th International Semantic Web Conference and 2nd Asian Semantic Web Conference (ISWC/ASWC2007), Busan, South Korea, volume 4825 of LNCS, page 435--448. Berlin, Heidelberg, Springer Verlag, (November 2007)
F. Dau. Proceedings of the 10th International Conference on Conceptual Structures (ICCS 2002), volume 2393 of Lecture Notes in Computer Science, page 326-340. Springer, (2002)
S. Boytcheva, A. Strupchanska, and G. Angelova. Proceedings of the 10th International Conference on Conceptual Structures (ICCS 2002), volume 2393 of Lecture Notes in Computer Science, page 137-150. Springer, (2002)