Skip to content

Commit

Permalink
Fixed issue for older versions of grep ... where handling of regex re…
Browse files Browse the repository at this point in the history
…quires dashes to be listed last in character classes.
  • Loading branch information
wallyhall authored and Matthew Hall committed Sep 29, 2015
1 parent d9ba050 commit b8afbbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shini.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ shini_function_exists()
shini_parse()
{

RX_KEY='[a-zA-Z0-9\-_]'
RX_KEY='[a-zA-Z0-9_\-]'
RX_VALUE="[^;\"]"
RX_SECTION='[a-zA-Z0-9\-_]'
RX_SECTION='[a-zA-Z0-9_\-]'
RX_WS='[ ]'
RX_QUOTE='"'
RX_HEX='[0-9A-F]'
Expand Down

0 comments on commit b8afbbb

Please sign in to comment.