Skip to content

Commit

Permalink
validators: allow spaces in dbus property names
Browse files Browse the repository at this point in the history
Signed-off-by: Bardia Moshiri <[email protected]>
  • Loading branch information
FakeShell committed Nov 14, 2024
1 parent 2831f9c commit 69dfd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbus_fast/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

_bus_name_re = re.compile(r"^[A-Za-z_-][A-Za-z0-9_-]*$")
_path_re = re.compile(r"^[A-Za-z0-9_]+$")
_element_re = re.compile(r"^[A-Za-z_][A-Za-z0-9_]*$")
_element_re = re.compile(r"^[A-Za-z_][A-Za-z0-9_ ]*$")
_member_re = re.compile(r"^[A-Za-z_][A-Za-z0-9_-]*$")


Expand Down

0 comments on commit 69dfd26

Please sign in to comment.