ballerina-platform / ballerina-lang

The Ballerina Programming Language
https://ballerina.io/
Apache License 2.0
3.68k stars 751 forks source link

[Bug]: Regex doesn't match #43498

Open xlight05 opened 2 weeks ago

xlight05 commented 2 weeks ago

Description

Consider the following gist. I want to capture filename and the ballerina code contents of the given text using this regex.

Issue doesn't seem to be with backticks unicode as well.

Steps to Reproduce

https://gist.github.com/xlight05/131ad2972beba098fdb20a4cb1c5d3a6

Affected Version(s)

2201.10.0

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

MaryamZi commented 2 weeks ago

Shouldn't the last part be

</code>

instead of

<\\/code>