]> git.corax.cc Git - toolbox/commit
include/json: Correctly escape braces in RegEx
authorMatthias Kruk <matthias.kruk@miraclelinux.com>
Fri, 21 May 2021 07:04:45 +0000 (16:04 +0900)
committerMatthias Kruk <matthias.kruk@miraclelinux.com>
Fri, 21 May 2021 07:04:45 +0000 (16:04 +0900)
commit021d517d5a42dc7aae88e6be968d92d9de8d9c9b
tree913c707301e82db58e40c05787c5b5934a7ce317
parent948a3a179904b7b15aed6b8c1b988d3e7fcdf01c
include/json: Correctly escape braces in RegEx

The json functions currently don't correctly recognize objects because
braces aren't correctly escaped. This commit changes the regexes so that
braces are escaped properly.
include/json.sh