Skip to content

highlevel_action_parser does not parse # properly #296

Description

@xhluca

Reproduce code

import pyparsing as pp
from typing import Any

from browsergym.core.action.parsers import highlevel_action_parser, NamedArgument

highlevel_code = 'send_msg_to_user("Personalization is a powerful driver of sales in the retail industry, especially for regional players like Lee\'s Market that serve diverse and culturally \\"specific\\" communities. Here’s how personalization can drive sales and actionable strategies tailored for Lee’s Market:\n\n## How Personalization Drives Sales in Retail\n")'

print("highlevel (original):", highlevel_action_parser.search_string(highlevel_code))

Results

highlevel (original): []

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions