Help save net neutrality! Learn more.
Close

#17 how to use regular expression in cscope

closed-invalid
nobody
None
5
2011-04-07
2008-08-12
charles
No

---cut---
Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern: <----- how to use this
Find this file:
Find files #including this file:
Find all function definitions:
Find all symbol assignments:

For the first 4 and last 2 input fields, the pattern can be a regcomp(3) regular expression.<----- how to use this
---cut---

Could you give me some example.Now, I only know ^ and $ work.

Discussion

  • Hans-Bernhard Broeker

    • status: open --> closed-invalid
     
  • Hans-Bernhard Broeker

    So go read the manpage of regcomp.