Task: Find and Replace include Quotes with Angle Brackets Using Regex
Task: Find and Replace include Quotes with Angle Brackets Using Regex: a task in Terminal-Lego-15k (Harbor dataset). You have a C/C++ source file that contains multiple include directives using double quotes (e.g., include "whatever.h" ). Your task is to use a regex-based find and replace…
The task
You have a C/C++ source file that contains multiple `#include` directives using double quotes (e.g., `#include "whatever.h"`). Your task is to use a regex-based find and replace operation to convert all quoted `#include` directives to use angle brackets instead (e.g., `#include <whatever.h>`), while preserving the…
Part of PrimeIntellect/Terminal-Lego-15k.