Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Ben Hanson Newsgroups: comp.compilers Subject: ANN: gram_grep (grep with a grammar) Date: Thu, 27 Jul 2017 03:41:14 -0700 (PDT) Organization: Compilers Central Lines: 25 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <17-07-003@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="79885"; mail-complaints-to="abuse@iecc.com" Keywords: tools Posted-Date: 27 Jul 2017 10:30:36 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1899 Hello, I have used my runtime lexer and parser generating libraries to produce a search tool: https://www.codeproject.com/Articles/1197135/gram-grep-grep-for-the-st-century The tool operates in 3 different modes: - Standard regex search - Lexer mode search - Parser mode search Maybe you have wanted to search for text only in strings? Or exclude strings from your search? Or exclude comments? Or even search only in comments? All of these and more are easily achievable now. I include a simple grammar search for looking for uninitialised variables in header files. Regards, Ben