Skip to content

Error from extcap when stop capture #121

@dguihal

Description

@dguihal

Error from extcap pipe: /home/dguihal/.local/lib/wireshark/extcap/nrf_sniffer_ble.py:187: SyntaxWarning: invalid escape sequence '\s'
"{validation=^\s*((37|38|39)\s*,\s*){0,2}(37|38|39){1}\s*$}{required=true}" % CTRL_ARG_ADVHOP)
/home/dguihal/.local/lib/wireshark/extcap/nrf_sniffer_ble.py:716: SyntaxWarning: invalid escape sequence '\s'
m = re.search("^\srssi\s(>=?)\s*(-?[0-9]+)\s*$", capture_filter, re.IGNORECASE)

python --version

Python 3.13.2

uname -a

Linux dguihal-XPS-16-9640 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I'm not 100% sure but shouldn't the '\s' written '\\s' ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions