Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ if [[ 'foo{b' =~ 'foo{b' ]]; then echo 0; else echo 1; fi
- 0
- $ if [[ 'foo{b' =~ 'foo{.' ]]; then echo 0; else echo 1; fi
- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement