From 2f3f805f2314d1128775eef6f53094ce004f786f Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Sat, 16 Nov 2024 21:11:30 -0300 Subject: [PATCH] Update parsing --- foamlib/_files/_parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foamlib/_files/_parsing.py b/foamlib/_files/_parsing.py index ed4a74a..1346ab0 100644 --- a/foamlib/_files/_parsing.py +++ b/foamlib/_files/_parsing.py @@ -28,11 +28,11 @@ Opt, ParserElement, ParseResults, - QuotedString, Regex, Word, common, counted_array, + dbl_quoted_string, identchars, printables, ) @@ -299,7 +299,7 @@ def _unpack_binary_field( ) ) ) -_TOKEN = QuotedString('"', unquote_results=False) | _IDENTIFIER +_TOKEN = dbl_quoted_string | _IDENTIFIER DATA = Forward() KEYWORD = ( _TOKEN