So Cookie strings look like remixsettings_bits=1; wysiwyg=1,2,3,abc; remixclosed_tabs=0; remixgroup_closed_tabs=786432; remixlang=0; remixchk=5; remixsid=35d4f9907281708019490d07728c27ca5c10e5de7a869c322222225e3219e; audio_vol=100
I wonder how to parse tham into map name
<-> value
?
Asked
Active
Viewed 1,010 times
3

Rella
- 65,003
- 109
- 363
- 636
1 Answers
3
Try this regex: (\w+)=([^;]*)
\w+
- alphanumeric one or more repetitions=
[^;]*
- any character except;
any number of repetitions
Result:

Kirill Polishchuk
- 54,804
- 11
- 122
- 125
-
this is only one side of the question. you do not say anething about how to use your regexp in boost.( – Rella Jul 22 '11 at 13:58
-
Because personally I do not get how to use it with boost regexp=( – Rella Jul 22 '11 at 14:17
-
@Kabumbus, Sorry, I don't know boost. I can't help you in this part of question. My apologies :-( – Kirill Polishchuk Jul 22 '11 at 14:21