Skip to content

Commit 3e9e08c

Browse files
committed
Updated constants like 1.1e1j
1 parent 596b436 commit 3e9e08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blosc2/lazyexpr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def compute_smaller_slice(larger_shape, smaller_shape, larger_slice):
460460
validation_patterns = [
461461
r"[\;\[\:]", # Flow control characters
462462
r"(^|[^\w])__[\w]+__($|[^\w])", # Dunder methods
463-
r"\.\b(?!real|imag|(\d*[eE]?[+-]?\d+)|\d*j\b|(sum|prod|min|max|std|mean|var|any|all|where)"
463+
r"\.\b(?!real|imag|(\d*[eE]?[+-]?\d+)|(\d*[eE]?[+-]?\d+j)|\d*j\b|(sum|prod|min|max|std|mean|var|any|all|where)"
464464
r"\s*\([^)]*\)|[a-zA-Z_]\w*\s*\([^)]*\))", # Attribute patterns
465465
]
466466

0 commit comments

Comments
 (0)