Skip to content

Instantly share code, notes, and snippets.

@jwliechty
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save jwliechty/eff0ff499be912ef1ba4 to your computer and use it in GitHub Desktop.

Select an option

Save jwliechty/eff0ff499be912ef1ba4 to your computer and use it in GitHub Desktop.

Revisions

  1. jwliechty revised this gist May 18, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion common_regexes.md
    Original file line number Diff line number Diff line change
    @@ -7,5 +7,5 @@ Where **SEARCH** is the regex search and **REPLACE** is the replacement text. Th

    ## Hashrocket Hash to JSON Hash

    ':([^\s=]+)\s+=>\s+'
    ':([^\s=\)]+)\s+=>\s+'
    '$1: '
  2. jwliechty revised this gist May 18, 2015. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions common_regexes.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,10 @@
    Format of the following will be

    'SEARCH'
    'REPLACE'

    Where **SEARCH** is the regex search and **REPLACE** is the replacement text. The quotes (') are for showing if there is any proceeding or trailing whitespace.

    ## Hashrocket Hash to JSON Hash

    ':([^\s=]+)\s+=>\s+'
  3. jwliechty revised this gist May 18, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions common_regexes.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ## Hashrocket Hash to JSON Hash

    ':([^\s=]+)\s+=>\s+'
    '$1: '
    ':([^\s=]+)\s+=>\s+'
    '$1: '
  4. jwliechty created this gist May 18, 2015.
    4 changes: 4 additions & 0 deletions common_regexes.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    ## Hashrocket Hash to JSON Hash

    ':([^\s=]+)\s+=>\s+'
    '$1: '