Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有以下内容:
items : (item separator)+
这适用于:
i1, i2, i3,
但不适用于:
i1, i2, i3
如何使它不需要末端分隔符?
这看起来更像你需要的:
items: item(,item)*