leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: general

Topic: Regex for finding nonterminal simps?


Moritz Doll (Sep 26 2022 at 17:14):

I found a few nonterminal simps in analysis/special_functions/pow and now I want to go through the whole file. Does have (or is able to write) a regex that finds simp, but not the attribute [simp] or simp only?

Moritz Doll (Sep 26 2022 at 18:06):

(?!\[)(simp)(?!_)(?!\])(?!\sonly) this seems to work in case anyone is interested


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll