Text Parser Module Suddenly Stopped Working - No Longer Matching Patterns

I’m encountering a puzzling issue with the Text Parser module that was working perfectly just a couple of hours ago. Without making any changes to my scenario, the module has suddenly stopped matching patterns in the text.

Here’s the situation:

Setup: I have a scenario where the Text Parser is used to extract specific sections of text from a formatted string. The pattern I’m using is ### One-Liner:\n(.), and similar patterns for other sections like ### Storyline:\n(.), ### Aesthetics:\n(.*), etc.

Issue: As of two hours ago, these patterns no longer yield any matches, even though the input text structure has not changed.

Testing: I’ve tried running the module by itself, simplified the regex pattern, and verified that the input text is exactly as expected, but the module still isn’t finding any matches.

I would greatly appreciate any insights or suggestions to resolve this issue.

Welcome to the Make community!

Could you go to regex101.com, paste in your Pattern at the top and paste a complete/full example text you are trying to match from below it?

Then, save the regex example and share the link with us here.

This will allow others to assist you here with your pattern. Thanks!

Hey Thanks for your reply.

Here’s the regex101 share link:

I need to get all the content from each title, so for One-Liner, whatever it comes after.

I went to my Make History, and found out that the text parses module settings were exactly as i have them now, i fed the exact same text as it did in the history and then I had the same result as regex101, but now, it doesnt find anything… Very weird.

UPDATE: I went to sleep list night as I really didnt know what else to do. This morning I woke up, tested the single Text Parser module and it worked on its own. When running the Scenario, it stops running well and goes back to not finding the pattern. Then if i test the same module on its own, its stops working again.
I attached a screenshot where you can see that the module definitely receives the right text, but it’s not outputing anything.

I want to make sure how to fix this, as my company really depends on this automation working well :woozy_face:

thanks for your help!!

Horacio

Welcome to the Make community!

You can use a Text Parser “Match Pattern” module with this Pattern (regular expression):

(?<heading_num>#+) (?<title>[^:]+):\s+(?<text>[^#]*?)\s*(?=#|$)

Proof https://regex101.com/r/WJaMOm/2

Important Info

  • :warning: Global match must be set to YES!

Example

Output


For more information, see Text Parser in the Make Help Center:

Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

3 Likes