90301 / TextReplace

This is a utility for programmatic text replacement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Syntax Processing

90301 opened this issue · comments

It would be helpful to be able to get a block of text where one character is concluded by another and count is kept:

Look for lines matching a filter of sorts, start a modified inner read of "{" and when an equal amount of "}" have been found that will be the text block
For example:

ProcessSyntax(class x ,{, })

Input:

public class x {
var a;
public static void y { }
}
//Comment Here

Output:

var a;
public static void y { }