What is the Difference between g and gi in RegExp?

 

g modifier: global. All matches (don •t return on fi rst match) 
i modifier: insensitive. Case insensitive match (ignores case of [a-zA-ZJ)

Text in image:g modifier: global. All matches (don •t return on fi rst match) i modifier: insensitive. Case insensitive match (ignores case of [a-zA-ZJ)

https://stackoverflow.com/questions/27916055/whats-the-meaning-of-gi-in-a-regex

 

Fs-file-content_


All Articles