Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1005 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Format for regular expressions are undocumented

Reported by: jhouse Assigned to: kris
Priority: major Milestone: 0.99.6
Component: Core Functionality Version: 0.99.5 Jascha
Keywords: Cc: jason.james.house@gmail.com

Description (Last modified by jascha)

the syntax is documented here: http://dsource.org/projects/tango/docs/current/tango.text.Regex.html

is that what you mean?

Change History

03/26/08 23:57:59 changed by kris

  • owner changed from sean to jascha.

03/27/08 04:34:14 changed by jascha

  • description changed.

the syntax is documented here: http://dsource.org/projects/tango/docs/current/tango.text.Regex.html

is that what you mean?

03/27/08 17:40:11 changed by jhouse

Does tango.text.Util use the same? Use of in a character class is not discussed... But, yeah, it is what I meant. I was blind.

03/28/08 00:44:56 changed by kris

what was the question about tango.text.Util?

03/28/08 20:20:06 changed by jhouse

Question was: How do patterns / regular expressions within tango.text.Util work? There's docs for Regex, but they're not necessarily used by tango.text.Util.

In my previous post, the carat character caused wiki formatting. The tango.text.Regex docs don't talk about it's uses besides as start of input / start of line.

03/28/08 20:33:15 changed by kris

I don't think there's any usage of regex, or caret, in tango.text.Util ... is there?

Also, tango.text.Regex has no connection to the wiki formatting. Not sure that I understand what you're asking?

03/31/08 15:51:06 changed by jhouse

I think things are getting jumbled together. Let me try to split it apart:

1. tango.text.Util does not document its pattern formats.

2. tango.text.Regex does not document all uses of caret

3. An earlier addition to this ticket used the carat symbol and caused superscript

04/01/08 09:28:55 changed by jhouse

  • cc set to jason.james.house@gmail.com.

04/08/08 04:33:07 changed by jascha

  • status changed from new to closed.
  • resolution set to fixed.

1. When text.Util speaks about "patterns" it actually means plain strings, no special operators. That's why there's no documentation. If you need "real" patterns, you can use text.Regex.

2. is fixed now

3. is excused ;)

04/08/08 06:28:37 changed by jhouse

  • status changed from closed to reopened.
  • resolution deleted.

Util should be documented. Is pattern a substring? A collection of characters to match? A regular expression? All are reasonable interpretations of pattern without clarifying documentation.

04/08/08 06:29:58 changed by jascha

  • owner changed from jascha to kris.
  • status changed from reopened to new.

04/18/08 00:17:21 changed by kris

  • status changed from new to closed.
  • resolution set to fixed.

(In [3441]) fixes #1005 :: Format for regular expressions are undocumented