Description

This worked in previous releases, but changed around 4.27.2 and Early Access. This prevents users from using C# regular expressions.

Steps to Reproduce
  1. Create a C++ project named MyProject
  2. Open MyProject.build.cs
  3. Paste this line on at the top: 
    using System.Text.RegularExpressions;
  1. Above '// Uncomment if you...' paste this line: 
    Regex rgx = new Regex("");
  1. Build the project.

Expected Results:
Project builds without error

 

Actual Results:
Project fails to build.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-143579 in the post.

1
Login to Vote

Fixed
ComponentUE - Foundation - Cpp Tools - UnrealBuildTool
Affects Versions5.0
Target Fix5.1
Fix Commit19190793
Main Commit19190793
CreatedFeb 23, 2022
ResolvedMar 3, 2022
UpdatedMar 3, 2022
View Jira Issue