Back to front pageView on Hacker News (opens in a new tab)Show HN: Search code in GitHub repos using regular expressions (opens in a new tab)grep.app614 pointsby danfox (on Hacker News)6 years agoComments (155) 49 threadsShow all commentsShowing thread 7 of 49[-]danielecook6 years ago1 reply#Wow. This is incredibly helpful. You can use it to see how someone may have used a function with named parameters: my_function(label=x, option_1=2) my_function.*option_1 # searchSlowRobotAhead6 years ago#That was my first thought. I’ll have to wait until tomorrow to try it, but I have one super rarely used function ima rare package I’d love to see how other people are using.
Show HN: Search code in GitHub repos using regular expressions (opens in a new tab)grep.app614 pointsby danfox (on Hacker News)6 years ago
danielecook6 years ago1 reply#Wow. This is incredibly helpful. You can use it to see how someone may have used a function with named parameters: my_function(label=x, option_1=2) my_function.*option_1 # search
SlowRobotAhead6 years ago#That was my first thought. I’ll have to wait until tomorrow to try it, but I have one super rarely used function ima rare package I’d love to see how other people are using.
Comments (155) 49 threads
Show all comments
Showing thread 7 of 49