Skip to content

Commit

Permalink
fix com>9 bug for detecting device
Browse files Browse the repository at this point in the history
  • Loading branch information
XAS-712 authored Apr 27, 2019
1 parent ccfa0b5 commit a4efd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MifareOneTool/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void list_dev(object sender, DoWorkEventArgs e)
{
if (!string.IsNullOrEmpty(_e.Data))
{
Match m = Regex.Match(_e.Data, "pn532_uart:COM\\d:115200");
Match m = Regex.Match(_e.Data, "pn532_uart:COM\\d+:115200");
if (m.Success)
{
myReader.Add(m.Value);
Expand Down

0 comments on commit a4efd1f

Please sign in to comment.