Skip to content

highlevel_action_parser does not parse # properly #296

@xhluca

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): []

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