Skip to content

Commit

Permalink
handle exponential notation in pvl quantity objects
Browse files Browse the repository at this point in the history
  • Loading branch information
m-stclair committed Nov 22, 2023
1 parent 5b21369 commit 67088ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdr/parselabel/pds3.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

PVL_BLOCK_INITIALS = ("OBJECT", "GROUP", "BEGIN_OBJECT", "BEGIN_GROUP")
PVL_BLOCK_TERMINAL = re.compile(r"END(_OBJECT|$)")
PVL_QUANTITY_VALUE = re.compile(r"((\d|\.|-)+|NULL|UNK|N/A)")
PVL_QUANTITY_VALUE = re.compile(r"((\d|\.|-)+([eE]-?\d+)?)|NULL|UNK|N/A")
PVL_QUANTITY_UNITS = re.compile(r"<(.*)>")


Expand Down

0 comments on commit 67088ce

Please sign in to comment.