Skip to content

Commit a4efd1f

Browse files
authored
fix com>9 bug for detecting device
1 parent ccfa0b5 commit a4efd1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MifareOneTool/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void list_dev(object sender, DoWorkEventArgs e)
172172
{
173173
if (!string.IsNullOrEmpty(_e.Data))
174174
{
175-
Match m = Regex.Match(_e.Data, "pn532_uart:COM\\d:115200");
175+
Match m = Regex.Match(_e.Data, "pn532_uart:COM\\d+:115200");
176176
if (m.Success)
177177
{
178178
myReader.Add(m.Value);

0 commit comments

Comments
 (0)