Skip to main content
5 events
when toggle format what by license comment
Sep 22, 2018 at 6:00 comment added Jerry I see, Thanks very much!:)
Sep 22, 2018 at 5:52 comment added Carl Woll @Jerry The issue is precedence, _String?StringMatchQ[DataPattern[{"Year", "Month", "Day"}]] is parsed as (_String?StringMatchQ)[DatePattern[{"Year", "Month", "Day"}]] not _String?(StringMatchQ[DatePattern[{"Year", "Month", "Day"}]]).
Sep 22, 2018 at 5:49 vote accept Jerry
Sep 22, 2018 at 5:48 comment added Jerry why SequenceReplace[list2, {_String?StringMatchQ[ DatePattern[{"Year", "Month", "Day"}]], s_String?StringMatchQ[DatePattern[{"Year", "Month", "Day"}]]} :> s] doesnot work?
Sep 22, 2018 at 5:19 history answered Carl Woll CC BY-SA 4.0