Skip to content

Instantly share code, notes, and snippets.

@deepaksisodiya
Last active August 29, 2015 14:20

Revisions

  1. deepaksisodiya revised this gist Apr 28, 2015. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    // i for case-insensitive search

    var str = "DEEPAK SISODIYA";
    var pattern = /deepak/i;
    pattern.test(str); // true
  2. deepaksisodiya revised this gist Apr 28, 2015. No changes.
  3. deepaksisodiya created this gist Apr 28, 2015.
    5 changes: 5 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // i for case-insensitive search

    var str = "DEEPAK SISODIYA";
    var pattern = /deepak/i;
    pattern.test(str); // true