Skip to content

Regular expressions invalid display value in groups #1136

Open
@torbacz

Description

@torbacz

Library/API/IoT binding

System.Text.RegularExpressions

Visual Studio version

VS2022

.NET nanoFramework extension version

2022.2.023

Target name(s)

ESP32_REV0

Firmware version

1.8.0.495

Device capabilities

No response

Description

Looks like there is something wrong with displaying System.Text.RegularExpressions.Group.Value in debug.

matches.Groups[2].Value -> displays in tooltip and Immediate Window "+CSQ: 0,0"
var value = matches.Groups[2].Value -> value has "0,0" value which is correct

Note: response = "AT+CSQ\r\n+CSQ: 0,0\r\n\r\nOK\r\n"

image

How to reproduce

No response

Expected behaviour

The display value in debug should be the same as when assigned to variable.

Screenshots

No response

Sample project or code

No response

Aditional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions