Obelisk::LookAroundUtils
Look-ahead and look-behind utilities
Class methods
extract_balanced_content(text : String, position : Int32, open_char : Char, close_char : Char) : String | Nil
Get the content between balanced delimiters
find_in_window(text : String, position : Int32, window_size : Int32, pattern : Regex) : Array(Regex::MatchData)
Find all occurrences of pattern in look-ahead window
find_matching_close(text : String, position : Int32, open_char : Char, close_char : Char) : Int32 | Nil
Find the matching closing delimiter
Check if we're inside balanced delimiters