Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 344 Bytes

regex.md

File metadata and controls

12 lines (7 loc) · 344 Bytes

Regex

Test

I was browsing this thread and noticed this javascript code:

    if (/yes/i.test(str))

so to test if a string contains a substring, we can use such test method, i here just means ignore case.