Sha256: 57c0829bee36798ee92bc8300e31d2384ad9dddd4024a9f88313986dabe71bf3
Contents?: true
Size: 1.19 KB
Versions: 26
Compression:
Stored size: 1.19 KB
Contents
{ "description": "Regular Expression type", "bson_type": "0x0B", "test_key": "a", "valid": [ { "description": "empty regex with no options", "bson": "0A0000000B6100000000", "extjson": "{\"a\" : {\"$regex\" : \"\", \"$options\" : \"\"}}" }, { "description": "regex without options", "bson": "0D0000000B6100616263000000", "extjson": "{\"a\" : {\"$regex\" : \"abc\", \"$options\" : \"\"}}" }, { "description": "regex with options", "bson": "0F0000000B610061626300696D0000", "extjson": "{\"a\" : {\"$regex\" : \"abc\", \"$options\" : \"im\"}}" }, { "description": "regex with slash", "bson": "110000000B610061622F636400696D0000", "extjson": "{\"a\" : {\"$regex\" : \"ab/cd\", \"$options\" : \"im\"}}" } ], "decodeErrors": [ { "description": "embedded null in pattern", "bson": "0F0000000B610061006300696D0000" }, { "description": "embedded null in flags", "bson": "100000000B61006162630069006D0000" } ] }
Version data entries
26 entries across 25 versions & 2 rubygems