Wednesday, 7 August 2013

Regexp in Apach Velocity

Regexp in Apach Velocity

input: double 0.X...XE^N
output must be like this:
1,
11,
1-11,
11-11,
1-11-11,
11-11-11,
111-11-11,
1-111-11-11,
11-111-11-11,
111-111-11-11,
1-111-111-11-11,
depending on N

No comments:

Post a Comment