gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
写一个正则表达规则为123
- User
写一个正则表达规则为123
- Assistant
不能确定您需要的是什么类型的规则。以下是一些可能符合您需求的例子:
- 匹配只包含 "123" 的字符串:
^123$- 匹配包含 "123" 的任意位置的字符串:
.*123.*- 匹配只包含 "1","2" 或 "3" 的任意长度的字符串:
^[123]+$
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.