null value will be
- * returned. If no groups are specified in the regular expression, but the
- * sequence matches, a two dimensional array is still returned, but the second
- * dimension is only of length one.
+ * This function is used to apply a regular expression to a piece of text,
+ * and return a list of matching groups (elements found inside parentheses)
+ * as a two-dimensional String array. If there are no matches, a null
+ * value will be returned. If no groups are specified in the regular
+ * expression, but the sequence matches, a two-dimensional array is still
+ * returned, but the second dimension is only of length one.
*
* To use the function, first check to see if the result is null. If the
* result is null, then the sequence did not match at all. If the sequence did
@@ -9129,7 +9129,7 @@ public class PApplet implements PConstants {
/**
* Utility function for formatting numbers into strings. Similar to
- * nf() but leaves a blank space in front of positive numbers so
+ * nf() but leaves a blank space in front of positive numbers, so
* they align with negative numbers in spite of the minus symbol. There are
* two versions, one for formatting floats and one for formatting ints. The
* values for the digits, left, and right parameters
@@ -9817,7 +9817,7 @@ public class PApplet implements PConstants {
*
* --present Presentation mode: blanks the entire screen and
* shows the sketch by itself. If the sketch is
- * smaller than the screen, the background around it
+ * smaller than the screen, the surrounding area
* will use the --window-color setting.
*
* --hide-stop Use to hide the stop button in situations where
@@ -9825,7 +9825,7 @@ public class PApplet implements PConstants {
* see the FAQ on information for capturing the ESC
* key when running in presentation mode.
*
- * --stop-color=#xxxxxx Color of the 'stop' text used to quit an
+ * --stop-color=#xxxxxx Color of the 'stop' text used to quit a
* sketch when it's in present mode.
*
* --window-color=#xxxxxx Background color of the window. The color used
@@ -10325,7 +10325,7 @@ public class PApplet implements PConstants {
/**
* Convenience method for Python Mode to run an already-constructed sketch.
- * This makes it makes it easy to launch a sketch in Jython:
+ * This makes it easy to launch a sketch in Jython:
*
* class MySketch(PApplet):
* pass
@@ -10431,7 +10431,7 @@ public class PApplet implements PConstants {
*
* If you want a background to show up in your files, use rect(0, 0,
* width, height) after setting the fill() to the background
- * color. Otherwise the background will not be rendered to the file because
+ * color. Otherwise, the background will not be rendered to the file because
* the background is not shape.
*
* Using hint(ENABLE_DEPTH_SORT) can improve the appearance of 3D