preg_match(): Compilation failed: range out of order in character class at offset 14 - rconfig/rconfig GitHub Wiki

If a device download reports this error.

Start rconfig:download-device IDs:1

In SSH2.php line 3173:

preg_match(): Compilation failed: range out of order in character class at offset 14

You need to validate your prompt does not have regex characters such as square brackets, forward slashes etc... See example of a prompt below where this can occur.

[[email protected]]/home/rcopy:

Change this to a regex string with wildcards, such as .fw-01.corp.domain.com.

See this doc for more information https://v6docs.rconfig.com/devices/prompts/