I have a big chunk of text that I'm checking for a specific pattern, which looks essentially like this:
unique_options_search = new Set([
"updates_EO_LTB",
"us_history",
"uslegacy",
etc., etc., etc.
]);
$input.typeahead({
source: [...unique_options_search],
autoSelect: false,
afterSelect: function(value)
My text variable is named 'html_page'
and my start and end points look like this:
start = "new Set(["
end = "]);"
I thought I could find what I want with this one-liner:
r = re.findall("start(.+?)end",html_page,re.MULTILINE)
However, it's not returning anything at all. What is wrong here? I saw other examples online that worked fine.