The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"[SOLVED] Using a loop variable within a regular expression?"

whitfawhitfa Member Posts: 9 Contributor II
edited June 2019 in Help
Hi there,

I'd like to pass my loop_value into a regular expression (which is in a Crawl Web parameter, which is inside the Loop Values Operator), however replacing my;

.+period-charts.+today.+

with

.+period-charts.+%{loop_value}.+

isn't working.  Any ideas  ???

thanks   :)

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Can you please post your process XML?

    Best regards,
    Marius
  • whitfawhitfa Member Posts: 9 Contributor II
    I beg your pardon Marius. 

    It appears that this does in fact work, so long as I don't use the Regex builder / helper within the Crawling Rules of the  CrawlWeb process node.  When I try to include the %{loop_value} within the regex helper, it won't let me <Apply> it because it doesn't like the syntax.  I have to do this without the helper, which is fine because it works.  ;D
  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    So we can mark this thread as solved :)
Sign In or Register to comment.