I'd like to find out how often and if a certain pattern in a certain programming language is used.In my case - I'd like to find out how many/if people do eval(/+regexString+/) in JavaScript and/or compose regular expressions from strings using /.Typically, I perform a GitHub search - I did this when working on a feature in the past, and it was for a much smaller API with a clear function call and a smaller scoped use case - doing this manually doesn't seem practical here.I'm doing this in order to characterise an API I'm working on and I'm considering whether or not this is something people do in order to provide a better and more consistent API..How can I research how common this pattern is? (I'd appreciate answers based on science and known practices)
How to research API usage?
javascript;research