[Bug 14858] [FO30] format-integer picture string

https://www.w3.org/Bugs/Public/show_bug.cgi?id=14858

--- Comment #6 from Michael Kay <mike@saxonica.com> 2012-02-27 17:45:03 UTC ---
Proposal:

(a) replace this text:

<old>
The value of $picture must match the regular expression:

^((\p{Nd}|#|[^\p{N}\p{L}])+?)(([co](\([^()]\))?)?[at]?)$

The substring that matches the first capturing group in this regular expression
are referred to as the primary format token. The substring that matches the
second capturing group (which may be empty) is referred to as the format
modifier. A picture thus consists of a primary format token, followed by an
optional format modifier.
</old>

with this:

<new>

The value of $picture consists of a primary format token, optionally followed
by a format modifier. If the string contains a semicolon then everything that
precedes the last semicolon is taken as the primary format token and everything
that follows is taken as the format modifier; if the string contains no
semicolon then the entire picture is taken as the primary format token, and the
format modifier is taken to be absent (which is equivalent to supplying a
zero-length string).

</new>

(b) add the semicolon to the examples that require it

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 27 February 2012 17:45:16 UTC